Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Web design and Programming (https://novahq.net/forum/forumdisplay.php?f=32)
-   -   Drop-down menus (https://novahq.net/forum/showthread.php?t=37332)

Chrispy 02-10-2007 12:06 AM

Quote:

Originally posted by Bustin
I just told you above where you had to put it chris.
Well, just to be sure, did I do it correctly?

http://chrisb1993.mgrider.googlepages.com/

To be honest, it looks kinda alright as it is without the drop-down menus... and, the drop-down menu shown on the site doesn't kinda blend in with my site... However, still help me if you can with it just incase.

http://www.dynamicdrive.com/dynamicindex6/clock2.htm

It says:

Step 2: Inside the <BODY> tag itself, throw in the following onLoad event handler, as follows:

<body onLoad="show_clock()">

I don't get this part TBH... but I get everything else...

Chris

Bustin 02-10-2007 03:18 AM

What don't you get? That is a simple code that just displays your computer time mate. Just Copy and Paste it where they tell you to. Nothing needs modified.

DevilDog#1 02-10-2007 10:26 AM

PHP Code:

<title>
     <
script src="dropdown.js"></script>
</
title>

<
body>
.
.
.

   <
div id="menu_parent">Main Menu</div>

    <
div id="menu_child">
      <
a href="#">Item 1</a>
      <
a href="#">Item 2</a>
      <
a href="#">Item 3</a>
  </
div>

<
script type="text/javascript">
at_attach("menu_parent""menu_child""hover""y""pointer");
</
script>

.
.
.
</
body

Makes sense?

Chrispy 02-10-2007 02:58 PM

Quote:

Originally posted by Bustin
What don't you get? That is a simple code that just displays your computer time mate. Just Copy and Paste it where they tell you to. Nothing needs modified.
I tried that dude... and guess what? It didn't work!

I did a straight copy and pasted into my page's HTML... and you know what comes up? Nothing... lol.

And BTW, there was no title section for the drop-down menu HTML thing too...

And I just tried what DevilDog gave me and nothing lol... and believe me, GPC is a killer to mess around with...

Yes, I tried that live clock thingy and nothing too... FFS... I'm gonna check other sites for stuff just incase lol.

* Edit:
http://www.javascriptkit.com/script/cut2.shtml

^ I tried that and it works! :)

Might fo hunting for drop-down menu snippets on other sites... lol.

Chris

Chrispy 02-10-2007 03:59 PM

http://www.javascriptkit.com/script/...leveltab.shtml

This worked... on my test page and when I did it on my main page... crap happened lol.

http://chrisb1993.mgrider.googlepages.com/

^ Check on my progressing, lol. ^

Chris

Chrispy 02-10-2007 06:09 PM

Apologies for the third reply lol... because for some reason, when I make a reply, usually minutes after, I will just usually edit it, but half an hour later or more, I just make a new reply lol. Called habits I guess, lol.

Check back on my site now:
http://chrisb1993.mgrider.googlepages.com/

Look on top and you'll see I added a ''weird'' menu, lol.

And yah... it was a lagfest BTW when doing it too lol.

* Edit:
Now the page freezes because of goddamn menus... don't they ''fit in'' or something?! :(

* Edit:
Now I put it on the bottom of the page. All fixed! :D

Chris :)

Bustin 02-10-2007 10:31 PM

Dude...code just works. If you copy and paste what is shown, then it will work.

So you have to be messing something up along the way.

Chrispy 02-10-2007 11:15 PM

Dude, that's too true... but when you're using Google Pages, crap can happen; regardless.

I suggest you check back up on my site now. The menus on the bottom are awesome!

At the start, when it showed me the HTML for the menu thingy, it had four parts: two were parts that could drop down, and two that couldn't. Basically, the first button couldn't drop down so I took that off, and the last button that couldn't drop down was called ''Search'', which linked to Google. I then changed that into a drop-down menu with links to search sites and now, for some reason, when I use the menu, the text stands out way more!

Just go to my site, and when you point to something on the menu, when it shows the links being launched down bottom, that never used to be white... and it used to be plain ugly...

The only drawback is, is that when I point to the buttons themselves that drop down the links, they link to the homepage of my site... Believe it or not, there's nothing that can change that. (And another weird thing is, when you point to a picture on Google Pages that you uploaded to your site, it direct links to that picture itself... lol...)

Now it's all sweet I guess lol. :D

Chris :)

Erik 02-10-2007 11:19 PM

Suggest learning HTML

JonM 02-11-2007 10:37 AM

Quote:

Originally posted by Erik
Suggest learning HTML
agreed HTML/CSS are almost essential for webpage admins :)

but i'm liking the site as is currently...pretty cool.

Chrispy 02-11-2007 09:30 PM

In the next few days the Arcade on my site is going to be up with games you can play... and way better... I'll be adding in about ten more exciting fun games! :)

Chris :)

Chrispy 02-13-2007 11:27 PM

Check my site now.

Chris :)


All times are GMT -5. The time now is 05:31 PM.

Powered by vBulletin®