Matc
06-29-2004, 04:21 PM
Hi there, I am calling in a dynamic news ticker that will be updated by some of my users. It is called in via an include page and the main script in the body tag is as follows
<form name="form1" method="post" action="">
<%
While ((Repeat1__numRows <> 0) AND (NOT rs_news.EOF))
%>
<A HREF="news_story.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "news_id=" & rs_news.Fields.Item("news_id").Value %>" class="librarysubmenu"><%=(rs_news.Fields.Item("news_title").Value)%> </A> |
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rs_news.MoveNext()
Wend
%>
</form>
This is inside simple marquee tags so it scrolls across the page. I need to know if it is possible to put in a onmouseover script to pause the marquee when a user has their mouse over one of the news stories that scroll by?
I know there a loads of scripts out there which have this effect but as this ticker is pulling the info from a database im not to sure to work my way round it.
Regards
Mat
<form name="form1" method="post" action="">
<%
While ((Repeat1__numRows <> 0) AND (NOT rs_news.EOF))
%>
<A HREF="news_story.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "news_id=" & rs_news.Fields.Item("news_id").Value %>" class="librarysubmenu"><%=(rs_news.Fields.Item("news_title").Value)%> </A> |
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rs_news.MoveNext()
Wend
%>
</form>
This is inside simple marquee tags so it scrolls across the page. I need to know if it is possible to put in a onmouseover script to pause the marquee when a user has their mouse over one of the news stories that scroll by?
I know there a loads of scripts out there which have this effect but as this ticker is pulling the info from a database im not to sure to work my way round it.
Regards
Mat