Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 09-30-2009, 12:20 PM Changing pop up code
Extreme Talker

Posts: 216
Trades: 0
I have some web pages, on one there is a pop up box script that has this line in the script:
Code:
document.getElementById('alert_text').innerHTML = "Please log-in.";
 }
On another page I have a mouseover script (below). I'd like to someohow change the pop-up to the mouseover. Can you suggest some guidance on how to accomplish this? Thanks.

Code:
 
<li><a class="msgclose" href="#" onmouseover="document.getElementById('popupMsg').style.display = 'block'; return false;"><img src="uploads/thumbs/[blkfeatured.thumb_string;block=div].jpg" alt="video pic" width="120" height="90" border="0" /></a></li>
 
<style>
      .msg { display:none; position:absolute; top:300px;
      left:300px; width:150px; background-color:#eeeeff; border-style:solid;
      border-width:1px; padding:15px 20px 5px 20px; }
      .msgclose { text-decoration:none; font-size:0.9em;
      font-variant:small-caps; margin-top:10px; }
      </style>
            <div id="popupMsg" class="msg">
         <center>
         <font color="#800000">You Must First Log-In</font><br />
         Thank You</center><br />
         <div style="width:100%; text-align:right;">
         <a class="msgclose" href="#" onmouseover="document.getElementById('popupMsg').style.display = 'none';
         return false;"><font color="#800000">Close Window</font></a>
      </div>
chrisj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Changing pop up code
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16711 seconds with 12 queries