Forums Archive Index > Cool free scripts > V-NewsTicker - Make own popup in V-NewsTicker

Author: Maxxie

Date: 15 Nov 2004 1:36 pm

Hello people,

I have V-Newsticker and it works great!
But i have a question, is it possible that i can make popup hyperlinks?

Verry thanks!

PS. Sorry for my bad English :(

I Hope you can help me :wink:


Author: smartmenus

Date: 16 Nov 2004 4:25 am

I suppose you are talking about a JS popup window. Well, here's a simple example:

===
function openPopUp(url,name,features){
window.open(url,name,features);
}

v_content=[
['javascript:openPopUp("http://www.yahoo.com/","mypopup","width=300,height=300");','Yahoo!','_self'], ...
===

Please note how you also must set _self for target of the link. Let me know if this is not what you need. :)


Author: Maxxie

Date: 16 Nov 2004 11:16 am

I have someting elle's now,
But thanks for your help.

Sorry i din't test it.

Thanks!