This is the Message Centre for Researcher 99947

Howdy

Post 81

J'au-æmne

sorry. That should've been Hello. smiley - smiley

-Joanna


Howdy

Post 82

Fashion Cat

Sporky, you remember on your old page, if you clicked it would say something... could you possibly show me how to do such a piece of wonderful (not the word I was gonna type, but found I couldnt spell it, so it was even recognisable!!) technology....???? please????

smiley - smiley


Howdy

Post 83

Asteroid Lil - Offstage Presence

This is not a post


Howdy

Post 84

Fashion Cat

hehe... could have fooled me Lil!!! smiley - tongueout

another thing Spork... colours... please explain how to do such things!! (i'm too much of a HTML/GuideML virgin!!!)

thanks!!

FC


Howdy

Post 85

Researcher 99947

The mouse click thing, as well as the colours, are both done with Javascript.

To do the mouse thingy:


<!--Right mouse//
function click() {
if (event.button==2)
{
alert('Nee!')
}
}
document.onmousedown=click
//button -->


Where it says 'Nee!' you put in whatever you want it to say. Where it says Right mouse, well, you can change it to left, if you were particularly evil (Mwahahaha- ahem hrmm).

For the background colour:


document.bgColor="000066";


Where it says 000066 you can put in any colour you want... such as 333844 *not particularly nice colour* or the word, such as pink.

For the links, well, I adapted the dancing link code that is floating about:

<!---------------------BEGIN LINKS CODE------------------------------>

<!-- Cut-N-Paste JavaScript from ISN Toolbox
Copyright 1996, Infohiway, Inc. Restricted use is hereby
granted (commercial and personal OK) so long as this code
is not *directly* sold and the copyright notice is buried
somewhere deep in your HTML document. A link to our site
http://www.infohiway.com is always appreciated of course,
but is absolutely and positively not necessary. -->


<!--
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this[i] = initArray.arguments[i];
}
this.length = initArray.arguments.length;
}

// you may fill this colors array with your colors.
// the script will rotate the links through these colors
var colors = new initArray(
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere",
"#colorhere");

pause_time = .09; // in seconds

link = 0; // starting color index (in colors array) for unvisited links
vlink = 6; // starting color index (in colors array) for visited links

function linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
//alert("link "+link+"\r\nvlink "+vlink+"\r\nvlinkColor "+document.vlinkColor);
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance();",pause_time*1000);
}
linkDance();
// -->



<!----------------------END LINKS CODE------------------------------->

You do the same thing in the colorhere space as you would in the previous script.

Hmm... I wonder if I shall make Top 10 Erudite Posters now ? lol


Howdy

Post 86

Fashion Cat

thanks!! I'll come holler if I have any probs....! smiley - smiley

*wonders why she's trying such things when she's never used HTML before....*

smiley - smiley


Howdy

Post 87

Researcher 99947

gut luck


Howdy

Post 88

Bruce

Expect an "Eeeeek! I got an
XML Error loading ''
Incorrect syntax was used in a comment."

error message on a white screen" if the page is GuideML type because of things like this
"<!----------------------END LINKS CODE------------------------------->" smiley - winkeye

http://www.h2g2.com/A353710#XML


Howdy

Post 89

Fashion Cat

thanks Bruce... I'm in guideML, so if i just get rid of that line it'll all be alright yes?


Howdy

Post 90

Researcher 99947

I wouldn't use it in GUIDEML. I stick to plain ole html


Howdy

Post 91

Bruce

Yep that'll worksmiley - smiley

;^)#


Howdy

Post 92

Fashion Cat

hmm... the rest of my page is in guideML though... how do I go about changing it? Are the two vastly different???

Hmm. maybe it'd be easier if you could give me a link to a good HTML for babies site..... smiley - winkeye


Howdy

Post 93

Captain Slogg


Howdy

Post 94

Researcher 99947

Hmm... I don't know any (sorry).

Well, basically, all that would change from GUIDEML to HTML is if you had a Who's Online link, which you'd have to change, and if - oh... I was thinking of the other biggee but now I've gone and forgotten it smiley - sadface

oh!! Pictures. In GUIDEML there is an ugly or some other ugly word to insert a picuture. In html that is simply changed to meaning image source smiley - winkeye


Howdy

Post 95

J'au-æmne

But it means that you can't really have h2g2 style headers, specially now they display differently in different skins...


Howdy

Post 96

Archangel Zax

*wanders in, reads backlog... sees guardee asking questions of EVERYONE ELSE.... wanders out...*


Howdy

Post 97

Bruce

A quick look at your page would suggest you'd need to lose the FOOTNOTEs, change the LINKs (&lose the margin entries) & change the SUBHEADERs.

;^)#


Howdy

Post 98

Fashion Cat

hmmm.. is that all!!!

ah well... and Zax... I didn't think it would be thing to bother my Archangel with... I have much more important things for you to help me sort out (oops, I'm digging myself a bigger hole for myself arent I????) smiley - winkeye


Howdy

Post 99

Bruce

Or just stick to GuideML smiley - winkeye

;^)#


Howdy

Post 100

Researcher 99947

Stop stop! Come towards the light! Accept html!!


Key: Complain about this post