• Page 1 of 1
  • 1
button
PredatoR
Posts: 132
Reputation: 0

Message # 1 | 0:23 AM
Well i made a button , now i dont know how to put a link .
So when i press a button www.facebook.com should open.

Here is my code :

Code

<input style="font-weight: bold; width: 130px;" value="Upiši Ban" type="submit">

Added (2011-01-18, 3:11 PM)
---------------------------------------------
Oke , i find it out alone .
Maybe some one will need it too .
you need just to put this code :

Code

ONCLICK="window.location.href='http://www.computerhope.com'"

in this one
Code

<input style="font-weight: bold; width: 130px;" value="Text on button" type="submit">   

and it should looks so
Code

<input style="font-weight: bold; width: 130px;" value="Text on button" ONCLICK="window.location.href='http://www.websiteURL.com'" type="submit">

Added (2011-01-18, 6:23 PM)
---------------------------------------------
Is it possible to make button visible only for one group ?
Example button

"Submit" and only administrators can see this button , no1 other.
The button code i use is :

Code

<input style="font-weight: bold; width: 130px;" value="Upiši Ban" onClick="window.open('http://zr-gaming.ucoz.com/index/upisi_ban/0-19','myWindow','width=800,height=450,scrollbars=1,left=10,top=10');" type="submit">

Is it possible ?


.:[ If i helped you please pump up my Reputation and give me award :) ]:.
rebelion
Posts: 130
Reputation: 4

Message # 2 | 0:31 AM
http://forum.ucoz.com/forum/37-471-1
condition operators

project-implement.com join rsps 508/525
PredatoR
Posts: 132
Reputation: 0

Message # 3 | 1:40 AM
rebelion, Thank you it helped me wink

.:[ If i helped you please pump up my Reputation and give me award :) ]:.
  • Page 1 of 1
  • 1
Search: