Geeks Talk

Prepare for your Next Interview




stop and run the marque field....

This is a discussion on stop and run the marque field.... within the JavaScript forums, part of the Web Development category; I have a marque field in my html...If i mouseover the marque it will be stop. After release the mouse it will run...Is there any function in javascript? ...


Go Back   Geeks Talk > Web Development > JavaScript

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-03-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 76 Times in 64 Posts
psuresh1982 will become famous soon enough
stop and run the marque field....

I have a marque field in my html...If i mouseover the marque it will be stop. After release the mouse it will run...Is there any function in javascript?

If anybody knows plz post here ASAP..

---------------
suresh
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-03-2007
Expert Member
 
Join Date: Jun 2006
Posts: 140
Thanks: 2
Thanked 12 Times in 9 Posts
Jim.Anderson is on a distinguished road
Re: stop and run the marque field....

The marquee tag allows you to scroll some text of your choice accross the screen, and it doesn't need a JavaScript to make it work. The only problem with using it is that the marquee tag only works in Internet Explorer. Netscape will just show the text you wanted to scroll as plain text on the screen.

Adding a Marquee
Reply With Quote
  #3 (permalink)  
Old 01-04-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 76 Times in 64 Posts
psuresh1982 will become famous soon enough
Re: stop and run the marque field....

Thanks Jim....i know what is marque field. i want to implement the stop and run functionality in marque field...that is my question...

Once again thanks for your reply and waiting for the same...

-------------------
suresh
Reply With Quote
  #4 (permalink)  
Old 01-04-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 76 Times in 64 Posts
psuresh1982 will become famous soon enough
Re: stop and run the marque field....

Hi All,

I found the answer.....

In that marque field put the following javascript built in function.....

onMouseOver="javascript:stop();" onMouseOut="javascript:start();"

------------------
suresh

Last edited by psuresh1982 : 01-04-2007 at 05:23 AM.
Reply With Quote
  #5 (permalink)  
Old 03-17-2007
Expert Member
 
Join Date: Oct 2005
Location: india,cochi,bangalore
Posts: 395
Thanks: 2
Thanked 8 Times in 7 Posts
vmshenoy is on a distinguished road
Re: stop and run the marque field....

hi suresh

it is good!
i found mouseover working,
but it wasnot restarting!
i.e on mouseout it was not continuing!hop getting me
please tell the correct one!
__________________
:)
NEVER SAY DIE.
Reply With Quote
  #6 (permalink)  
Old 03-17-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,007
Thanks: 0
Thanked 76 Times in 64 Posts
psuresh1982 will become famous soon enough
Re: stop and run the marque field....

hi vmshenoy,

Lookout my javascript code...onmouseout i stop the marquee. Then how it is working ? If you mouseover again then it will run. If you want all the time the marquee field running then why should you these functions ? It will automatically running if you are not using functions.

Suppose if you want marquee run all the time after you mouseover the field then remove my onMouseOut javascript function.

-------------------
suresh
Reply With Quote
  #7 (permalink)  
Old 03-17-2007
Expert Member
 
Join Date: Oct 2005
Location: india,cochi,bangalore
Posts: 395
Thanks: 2
Thanked 8 Times in 7 Posts
vmshenoy is on a distinguished road
Re: stop and run the marque field....

hi suresh

no i framed my question wrong!
i got the solution too!

there should not be semicolon ; after MouseOver:javascript()

the code which works
is

onMouseOver="javascript:stop() " onMouseOut="javascript:start();"
__________________
:)
NEVER SAY DIE.
Reply With Quote
Reply

  Geeks Talk > Web Development > JavaScript


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Filling "Date Creation" field with the current day Lokesh M Test Director 1 02-27-2008 08:39 AM
Code to stop an iteration JobHelper QTP 7 07-11-2007 04:04 PM
Field, single field and multivalue field JobHelper Seibel 1 01-10-2007 12:54 PM
Microsoft CRM : Connect a new entity to an existing entity by using a lookup field Jim.Anderson Microsoft CRM 0 09-27-2006 07:39 AM


All times are GMT -4. The time now is 04:26 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved