Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
drop meni

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
booka



Joined: 06 Oct 2005
Posts: 325
Location: Zagreb

PostPosted: 16.11.2007 21:30    Post subject: drop meni Add user to your forum ignore list Reply with quote

Imam drop meni običan sa opcijama. Kako da napravim da mi npr. link 1 bude link?
Probao sam sa a href ili u value napisat link ali neće... Jel mi može tko pomoći?
Hvala

primjer
Code:
         
<select name="drop_meni" id="drop_meni">
<option value="link1">Link1</option>
<option value="link2">Link2</option>
<option value="link3">Link3</option>
<option value="link4">Link4</option>
</select>
Back to top
View user's profile Send private message Send e-mail MSN Messenger
ghosap



Joined: 18 Sep 2003
Posts: 79

PostPosted: 17.11.2007 00:17    Post subject: Add user to your forum ignore list Reply with quote

JavaScript
onchange="window.location='this.options[this.selectedIndex].value'"

tj.

<select name="drop_meni" id="drop_meni" onchange="window.location='this.options[this.selectedIndex].value'">

_________________
. . . and when the balance is lost all that is left is the reckening . . .
Back to top
View user's profile Send private message
booka



Joined: 06 Oct 2005
Posts: 325
Location: Zagreb

PostPosted: 17.11.2007 00:33    Post subject: Add user to your forum ignore list Reply with quote

Hvala, ja sam u međuvremenu to ovako rješio. Jel to isto dobro?

Code:
<select name="drop_meni" id="drop_meni" onchange="location.href=value;">
Back to top
View user's profile Send private message Send e-mail MSN Messenger
ghosap



Joined: 18 Sep 2003
Posts: 79

PostPosted: 17.11.2007 12:54    Post subject: Add user to your forum ignore list Reply with quote

booka wrote:
Hvala, ja sam u međuvremenu to ovako rješio. Jel to isto dobro?

Code:
<select name="drop_meni" id="drop_meni" onchange="location.href=value;">


Pa ako ti radi ... Cool

_________________
. . . and when the balance is lost all that is left is the reckening . . .
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group