Pop-up box with html and jquery
3 posters
Page 1 of 1
Re: Pop-up box with html and jquery
In its simplest form:
But your gonna have to be more specific.
- Code:
<div onclick="jQuery('#popup').show();">Click This to pop up the next box</div>
<div id="popup" style="display:none;"> Content of a box here</div>
But your gonna have to be more specific.
LGforum- Hyperactive
-
Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Pop-up box with html and jquery
KevinDesign wrote:I want something like this.
Hi,
They have already given enough documentation on that page Go through it and try applying it on your forum.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Pop-up box with html and jquery
What code did you add?
Make sure you add the files that they are providing including JS and CSS.
Make sure you add the files that they are providing including JS and CSS.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Pop-up box with html and jquery
I used:
- Code:
<a href="#" id="diagnostics">Show diagnostics</a>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.6.2.min.js"></script>
<link rel="stylesheet" href="http://onehackoranother.com/projects/jquery/boxy/stylesheets/boxy.css" type="text/css">
<script type="text/javascript" src="http://onehackoranother.com/projects/jquery/boxy/javascripts/jquery.boxy.js"></script>
Re: Pop-up box with html and jquery
The code is incomplete.
The href="#" must have URL of the page/section you want to open and the <a> tag must have class="boxy" applied to it.
If you want a page to open in popup, the link code should be like...
Hope it helps
The href="#" must have URL of the page/section you want to open and the <a> tag must have class="boxy" applied to it.
If you want a page to open in popup, the link code should be like...
- Code:
<a href="http://forumotion.com/" class="boxy">Forumotion</a>
Hope it helps

ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Pop-up box with html and jquery
I tried with:
but don't work
- Code:
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.6.2.min.js"></script>
<link rel="stylesheet" href="http://onehackoranother.com/projects/jquery/boxy/stylesheets/boxy.css" type="text/css">
<script type="text/javascript" src="http://onehackoranother.com/projects/jquery/boxy/javascripts/jquery.boxy.js"></script>
<a href="http://forumotion.com/" class="boxy">Forumotion</a>
but don't work


» Html Jquery help
» RollOver Nav HTML & JQuery
» Does HTML page have jquery installed?
» JQuery
» JQuery Help
» RollOver Nav HTML & JQuery
» Does HTML page have jquery installed?
» JQuery
» JQuery Help
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum