Computer, Internet & Webmasters Zone...
Don't Forget to visit our Website at : www.CyberNinja.110mb.Com


The Best Forum With All The Useful Tips And Tricks and Guidance Regarding computer and internet security , Webmasters, software and sites review , webdesigning , html , css , javscripts etc.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Mouse placed over a text and a pop up window.

Go down 
AuthorMessage
van_helsing

avatar

Posts : 4
Blades : 7489
Join date : 2008-04-18

PostSubject: Mouse placed over a text and a pop up window.   Mon 14 Jun 2010 - 17:46

i wanna open a popup window when mouse is placed over a text..How to do that ?



Van Helsing
Back to top Go down
View user profile
Admin
Admin
Admin
avatar

Posts : 30
Blades : 7592
Join date : 2008-04-15
Age : 34
Location : Cyber World.

PostSubject: Here's the code , wonder why u wanna do that.   Mon 14 Jun 2010 - 17:59

Though you can find many of the googd javascripts for free under our codebox section . ([You must be registered and logged in to see this link.] . But here's the code as you put it up in this forum---->


There are actually 2 steps to install this javascript:

Step 1. Place the below code between your <head>.....</head> tags.

<SCRIPT Language='JavaScript'>
function winopen () {
msg=open("","NewWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=400,height=400");
msg.location = "YOUR LINK LOCATION"
}
</SCRIPT>



Also enter the link path of the page you wanna open as a pop up in place of your link location in marked in red. As you can see the popup opened can also be customised by changing other values in yellow.


Step 2. Place the below code between your <body>.....</body> tags whereever you wan't your text to display.


<a href="" onMouseOver="winopen(); return true;">YOUR TEXT HERE</a>

Don't forget to change the text value in red above . this is the text which will evoke a popup window when mouse is placed over it.


Hope it works ..

Contact me for further assistance.

_________________


CyberNinja -aka- Doc CN (Administrator)


Complete Profile : [You must be registered and logged in to see this link.]
Website : [You must be registered and logged in to see this link.]
Blog : [You must be registered and logged in to see this link.]
Forum : [You must be registered and logged in to see this link.]
You Tube's Channel : [You must be registered and logged in to see this link.]
Back to top Go down
View user profile http://www.cyberninja.110mb.com
 
Mouse placed over a text and a pop up window.
Back to top 
Page 1 of 1
 Similar topics
-
» Need to do a simple Left Click in a text box
» how to select text from a disabled field?
» How to use storetext and verify text? It is failing for me..
» Entering a time stamp in comment / text box?
» WEB DRIVER ALTERNATIVE FOR SELENIUM IDE WAIT AND WAITFOR TEXT PRESENT COMMAND

Permissions in this forum:You cannot reply to topics in this forum
Computer, Internet & Webmasters Zone... :: Webmasters Zone :: Javascript Codes.-
Jump to: