Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Add pop-up link in scroller
ngdoherty
Junior Member

Posts: 2
Registered: 11/15/2006
Member Is Offline
posted on 11/15/2006 at 05:17 AM Reply With Quote
Add pop-up link in scroller


Hi,

Lining to external files works fine in the scroller - but I would prefer to link to a pop-up. I am aware of blocking issues ;-)

Is this possible?

I tried using the code below in scroller.html - but first link doesn't work when embedded in the scroller. Second link is fine.

Any help greatly appreciated.

Neil


<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<p>
<a href="javascript:;" onClick="MM_openBrWindow('http://www.mysite.com/news1.htm','','scrollbars=yes,resizable=yes,width=340,height=300')">Link1 </a>
</p>
<br>

<p>
<a href="http://www.mysite.com/news3.htm" target="_blank">Link 2</a>
</p>
</body>
</html>
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 11/15/2006 at 10:09 AM Reply With Quote

your MM_openBrWindow function may not be available to the code in the scroller. Try calling window.open directly from onclick event.
View User's Profile View All Posts By User U2U Member
ngdoherty
Junior Member

Posts: 2
Registered: 11/15/2006
Member Is Offline
posted on 11/22/2006 at 05:41 AM Reply With Quote

Thanks - that worked!

Here is the code that I used ..


<p>

<a href="http://www.mydomain.com/mypage.htm" onclick="popWin = open('http://www.mydomain.com/mypage.htm','MyPage','width=340, height=300');popWin.focus();return false"> Click Here</a>

</p>

Could also have used ...

<a href="javascript:void window.open('http://www.mydomain.com/mypage.htm','MyPage','width=340, height=300')"> Click Here </a>
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Scroller
Product Demonstrations Live Demos:
Multiple vertical scrolling
Horizontal scrolling
Free Download Free Download
Product Documentation Documentation:
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
   
Tigra Scroller PRO
Product Demonstrations Live Demos
Vertical automatic scrolling
Horizontal manual scrolling
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004