Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I want to show news and announcement in top of the page. I am using marquee for this. i want to show when i click that particular news or announcement will view as popup window. please share your ideas.
Posted

Try like this
ASP.NET
<marquee id="mq" direction="right" loop="true" onmouseover="this.stop();"  önmouseout="this.start();">   
    <input type="text" id="txt" value="Click here"  runat="server"  önclick="window.open('http://www.google.com');" />
    </marquee>
 
Share this answer
 
v2
Use JQuery like follows:
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>

$('marquee').on('click',function(){

alert(your message);

});
 
Share this answer
 
v2
Refer the Jquery documentation link and click on ViewSource , use dialog()


https://jqueryui.com/dialog/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900