Welcome to Eyes on FF!
>>> Click here to download Final Fantasy Ringtones
Oh no!
 

Post New Thread  Reply
 
LinkBack Thread Tools
Jessweeee♪
Cool Beans
Jessweeee♪'s Avatar
#1
Pink Grin I'm a total HTML newb, here x.x

As you can see, I've been playing with drop down boxes...I'm starting up a freeweb and I was going to litter an entire page with them XD

Would any of you know how I can get a different result for each option?
Old 08-16-2007, 11:28 PM
Reply With Quote
Jessweeee♪ is offline  
Xander
Former Staff
mountain goat
Xander's Avatar
Location: UK
Default





Is this what you mean? I haven't used these for ages but I just changed the html around a bit. You had onChange on the Select (whole menu) so I guess it appeared when anything changed. I made an OPTION for each character, changed onChange to onClick and put on each one so it alerts when you click each one.

I dunno if I did it with exact proper code but it seems to work

<*FORM*>
<*SELECT name="quotemenu"*>
<*OPTION*>Character Quote of the Week<*BR*><*BR*>
<*OPTION onClick="alert('Yuna! This is our story! Now let\'s see this thing through together.')"*>Tidus
<*OPTION onClick="alert('I like Tidus')"*>Yuna<*/OPTION*>
<*OPTION onClick="alert('I like Blitzball')"*>Wakka
<*OPTION onClick="alert('I wear belts')"*>Lulu<*/OPTION*>
<*/SELECT*>
<*/FORM*>

Remove all the *s
Old 08-17-2007, 12:15 AM
Reply With Quote
Xander is offline  
Jessweeee♪
Cool Beans
Jessweeee♪'s Avatar
Default

Okie dokie, thanks n.n
Old 08-17-2007, 12:18 AM
Reply With Quote
Jessweeee♪ is offline  
Baloki
Site Staff
Last Exile
Baloki's Avatar
Location: Dreaming a dream~
Default

Originally Posted by Xander ^




Is this what you mean? I haven't used these for ages but I just changed the html around a bit. You had onChange on the Select (whole menu) so I guess it appeared when anything changed. I made an OPTION for each character, changed onChange to onClick and put on each one so it alerts when you click each one.

I dunno if I did it with exact proper code but it seems to work

<*FORM*>
<*SELECT name="quotemenu"*>
<*OPTION*>Character Quote of the Week<*BR*><*BR*>
<*OPTION onClick="alert('Yuna! This is our story! Now let\'s see this thing through together.')"*>Tidus
<*OPTION onClick="alert('I like Tidus')"*>Yuna<*/OPTION*>
<*OPTION onClick="alert('I like Blitzball')"*>Wakka
<*OPTION onClick="alert('I wear belts')"*>Lulu<*/OPTION*>
<*/SELECT*>
<*/FORM*>

Remove all the *s
*nods*, that is the correct javascript

I would recommend looking into Dynamic Drive as they have alot of neat scripts like that ^_^
Old 08-17-2007, 09:16 AM
Reply With Quote
Baloki is offline  
Jessweeee♪
Cool Beans
Jessweeee♪'s Avatar
Default

Thanks a bunch
Old 08-18-2007, 06:52 AM
Reply With Quote
Jessweeee♪ is offline  
Baloki
Site Staff
Last Exile
Baloki's Avatar
Location: Dreaming a dream~
Default

No problem, if ya need any further help just give me a PM or post another thread here, tisn't like I ever leave the help forum xD
Old 08-18-2007, 10:36 AM
Reply With Quote
Baloki is offline  
Pureghetto
<(o'.'o)> ~ Pika pika
Pureghetto's Avatar
Location: Barrie, ON
Talking

I'm just curious, but obviously javascript and other things can be used for evil and probably will be dealt with on a case-by-case basis. But buh? It's allowed?

I guess as long as it's not too annoying, but obviously somebody can put a sig that spams you (unintentionally or whatever) with 'PG is amzing!' messages.

=(
Old 08-21-2007, 09:29 PM
Reply With Quote
Pureghetto is offline  
Baloki
Site Staff
Last Exile
Baloki's Avatar
Location: Dreaming a dream~
Default

No, mentioning you is a bannable offense now so swear filtered
Old 08-22-2007, 01:11 AM
Reply With Quote
Baloki is offline  
Post New Thread  Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:17 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0
Copyright ©2000 - 2007, Eyes on Final Fantasy.
Sean Robinson Design

Online Games | Scholarships | Tool Enhancers