This is the Message Centre for Researcher 99947
Howdy
Fashion Cat Posted Jun 25, 2000
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????
Howdy
Fashion Cat Posted Jun 25, 2000
hehe... could have fooled me Lil!!!
another thing Spork... colours... please explain how to do such things!! (i'm too much of a HTML/GuideML virgin!!!)
thanks!!
FC
Howdy
Researcher 99947 Posted Jun 25, 2000
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
Fashion Cat Posted Jun 25, 2000
thanks!! I'll come holler if I have any probs....!
*wonders why she's trying such things when she's never used HTML before....*
Howdy
Bruce Posted Jun 25, 2000
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------------------------------->"
http://www.h2g2.com/A353710#XML
Howdy
Fashion Cat Posted Jun 25, 2000
thanks Bruce... I'm in guideML, so if i just get rid of that line it'll all be alright yes?
Howdy
Fashion Cat Posted Jun 25, 2000
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.....
Howdy
Researcher 99947 Posted Jun 26, 2000
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
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
Howdy
J'au-æmne Posted Jun 26, 2000
But it means that you can't really have h2g2 style headers, specially now they display differently in different skins...
Howdy
Archangel Zax Posted Jun 26, 2000
*wanders in, reads backlog... sees guardee asking questions of EVERYONE ELSE.... wanders out...*
Howdy
Bruce Posted Jun 26, 2000
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
Fashion Cat Posted Jun 26, 2000
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????)
Key: Complain about this post
Howdy
- 81: J'au-æmne (Jun 23, 2000)
- 82: Fashion Cat (Jun 25, 2000)
- 83: Asteroid Lil - Offstage Presence (Jun 25, 2000)
- 84: Fashion Cat (Jun 25, 2000)
- 85: Researcher 99947 (Jun 25, 2000)
- 86: Fashion Cat (Jun 25, 2000)
- 87: Researcher 99947 (Jun 25, 2000)
- 88: Bruce (Jun 25, 2000)
- 89: Fashion Cat (Jun 25, 2000)
- 90: Researcher 99947 (Jun 25, 2000)
- 91: Bruce (Jun 25, 2000)
- 92: Fashion Cat (Jun 25, 2000)
- 93: Captain Slogg (Jun 25, 2000)
- 94: Researcher 99947 (Jun 26, 2000)
- 95: J'au-æmne (Jun 26, 2000)
- 96: Archangel Zax (Jun 26, 2000)
- 97: Bruce (Jun 26, 2000)
- 98: Fashion Cat (Jun 26, 2000)
- 99: Bruce (Jun 26, 2000)
- 100: Researcher 99947 (Jun 26, 2000)
More Conversations for Researcher 99947
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."