Welcome To Freeware Tips Forum Index
Join! (free) SearchFAQMemberlistUsergroupsLog in

Javascript Pop Up (Code) (Similar To CSS Pop Up)

 
Reply to topic    Welcome To Freeware Tips Forum Index » Coding Tips -> JavaScript View previous topic
View next topic
Javascript Pop Up (Code) (Similar To CSS Pop Up)
Author Message
Please Register and Login to this forum to stop seeing this advertsing.




Speed
Site Admin

Joined: 16 Jul 2008
Posts: 1247
Add Comment
Show Comments
Add Karma



Post Javascript Pop Up (Code) (Similar To CSS Pop Up) Reply with quote
Pop Up With Text

Code:
<script type="text/javascript">

function display(){
document.getElementById("mikespage").style.display="block"};

function hide(){
document.getElementById("mikespage").style.display="none"};

</script>

<style type="text/css">
#mikespage{display:none;}
</style>

<span onMouseover="display()" onMouseout="hide()" href=" http://www.myspace.com/mikethedj4">
The Javascript = Css Pop Up with text<br />
<span onMouseover="hide" id="mikespage" />
Text Here
</span>


Now With An Image that pops Up

Code:
<script type="text/javascript">

function display(){
document.getElementById("mikescode").style.display="block"};

function hide(){
document.getElementById("mikescode").style.display="none"};

</script>

<style type="text/css">
#mikescode{display:none;}
</style>

<span onMouseover="display()" onMouseout="hide()" href=" http://www.myspace.com/mikethedj4">
The Javascript Popup With An Image<br />
<img onMouseover="" id="mikescode" src="http://i165.photobucket.com/albums/u42/truribe/73hh4x0r5.jpg " />
</span>


Now if you want to hover over an image just put the code below into the part where you put the txt aka link part in, now if you have any questions feel free to ask.

NOTE: Don't forget to change the text and links.




_________________


Train Insane or Remain The Same
There's No Room In A Warriors Heart For Self Doubt
Wed Jul 16, 2008 1:30 pm View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    Welcome To Freeware Tips Forum Index » Coding Tips -> JavaScript All times are GMT
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

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Design by Speed