The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

how to make pop up button

3 posters

Go down

how to make pop up button Empty how to make pop up button

Post by AM99 Wed Aug 29 2012, 13:46

how do you make a pop up button,
like the FM chatbox but instead of the chatbox
i want this

Code:
<div id="lrep897898069" style="width: 350px;">Data loading....<a href="http://haxballgalaxy.leaguerepublic.com/Index.do?divisionseason=453379611">click here for Division One</a><br/><br/><a href="http://www.leaguerepublic.com">LeagueRepublic</a></div>
<script language="javascript" type="text/javascript">
var lrcode = '897898069'
</script>
<script language="Javascript" type="text/javascript" src="http://api.leaguerepublic.com/client/api/cs1.js"></script>

To pop up.
How can i do this?
avatar
AM99
Forumember

Posts : 174
Reputation : 4
Language : english

Back to top Go down

how to make pop up button Empty Re: how to make pop up button

Post by nextlevelgaming Wed Aug 29 2012, 16:04

What do you mean pop up button? are you meaning a button that looks 3d or it actually pops up? I know the FMchat has a fixed button to open the fmchat. Let me know
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

how to make pop up button Empty Re: how to make pop up button

Post by AM99 Wed Aug 29 2012, 18:05

Just like the FM chat has a fixed button,
i want a button like that but when you click it it brings up a image etc
avatar
AM99
Forumember

Posts : 174
Reputation : 4
Language : english

Back to top Go down

how to make pop up button Empty Re: how to make pop up button

Post by AM99 Thu Aug 30 2012, 12:53

Where would you put that?
avatar
AM99
Forumember

Posts : 174
Reputation : 4
Language : english

Back to top Go down

how to make pop up button Empty Re: how to make pop up button

Post by Dex♥ Thu Aug 30 2012, 14:09

Rideem3 wrote:You could do something like this:
Code:
<img src="URLHERE" id="random_image" style="display: none;" />
<input type="button" value="Toggle Image" onClick="$('#random_image').toggle()" />


AM99 wrote:Where would you put that?

Take Rideem's code and put it into a widget. If you want to move it, add a div id and place it with css.
Dex♥
Dex♥
Forumember

Posts : 138
Reputation : 6
Language : Calgary

http://www.toonworldacademy.net

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum