The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

how to make pop up button

Go down

how to make pop up button

Post by AM99 on August 29th 2012, 12:46 pm

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?

AM99
Forumember

Posts : 174
Reputation : 4
Language : english

Back to top Go down

Re: how to make pop up button

Post by nextlevelgaming on August 29th 2012, 3:04 pm

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
avatar
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

Re: how to make pop up button

Post by AM99 on August 29th 2012, 5:05 pm

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

AM99
Forumember

Posts : 174
Reputation : 4
Language : english

Back to top Go down

Re: how to make pop up button

Post by AM99 on August 30th 2012, 11:53 am

Where would you put that?

AM99
Forumember

Posts : 174
Reputation : 4
Language : english

Back to top Go down

Re: how to make pop up button

Post by Dex♥ on August 30th 2012, 1:09 pm

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.
avatar
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