Jump to content
Sign in to follow this  
jigga1234

Flash Slideshow cannot get the links to open in _self

Recommended Posts

Hello,

 

I have downloaded and installed the AJAX Suber baner Slideshow in Home Page contribution found here and everything seems to be working great apart from one problem.

 

when you click on the flash images they open a link (which is what I want) however it opens in a new window in IE and a new tab in Firefox. I want it to open in the same window.

 

I have read that you need to change your script to say navigateToURL(_self); However in the three files that are contained in the contribution none of them contain the words navigateToURL in them. I have looked at the script that the contribution uses and again there is no reference to navigateToURL within this.

 

Could anyone explain a couple of things to me?

1.does a flash link by default open in a new window?

2.Can anyone download the contrib have a quick look at the files and let me know if they have any idea on how to change this?

 

Thanks to anyone who replies :)

Share this post


Link to post
Share on other sites

The slides.xml file is where you need to add the target. Also, you may want to set the target to _parent as I found in many cases, OSC opens would change only 1 frame.

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

Hi thank you for your reply.

 

Do you have any idea where in the slides.xml file I would place this? I have tried within the image to place URLTarget"_parent" and it still opens in another tab.

 

eg.

<?xml version="1.0" encoding="UTF-8" ?>
<flash_parameters copyright="socusoftFSMTheme">
   <preferences>
       <golbal>
           <basic_property movieWidth="145" movieHeight="260" decoration="res/arrow_bar.swf" html_title="Title" loadStyle="Bar" hideAdobeMenu="false" socusoftMenu="false" photoDynamicShow="true" enableURL="true" transitionArray=""/>
           <title_property photoTitle="false" photoTitleX="5" photoTitleY="5" photoTitleSize="15" photoTitleFont="Verdana" photoTitleColor="0xffffff"/>
           <music_property path="" stream="true" loop="true"/>
           <photo_property topPadding="0" bottomPadding="0" leftPadding="0" rightPadding="0"/>
           <properties enable="true" backgroundColor="0xffffff" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
       </golbal>
       <thumbnail>
           <basic_property showPrview="false" prviewWidth="100" prviewHeight="75" lineColor="0xffffff" numberColor="0xffffff" hovrColor="0xff8000" prviewBorderColor="0xffffff"/>
       </thumbnail>
   </preferences>
   <album>
       <slide jpegURL="thumbs/p_0001.jpg" d_URL="images/flash/salomonmissionadvert.gif" transition="56" panzoom="1" urltarget="_parent" phototime="6" url="http://www.mountain-marine.com/mission-rs-cf-ski-boots-p-4121.html" title="mission boots" width="145" height="242"/>
       <slide jpegURL="thumbs/p_0002.jpg" d_URL="images/eider/eiderladies.gif" transition="56" panzoom="1" urltarget="_parent" phototime="6" url="http://www.mountain-marine.com/alya-p-4091.html" title="Eider Alya Jacket" width="145" height="242"/>

   </album>
</flash_parameters>

 

Am I missing something very simple?

Share this post


Link to post
Share on other sites

Hello,

try this option :

URLTarget="2"

In my script, it works.

 

But may be your problem was fixed since november 2009 :)

Sorry, I just found the issue of this problem I encountered right now.

Edited by GniDhal

Share this post


Link to post
Share on other sites

Hello,

excuse my bad English, I have installed AJAX Slideshow Suber Baner in the Home but when I access the home using the URL without "www" (only with "mydomain.com"), the slide does not work and I get the message "LOAD FAIL"

 

But if I access the home using the fully domain "www.mydomain.com" works perfectly

 

Why? How can I do to fix this error?

 

Thanks for the reply,

Nadia

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×