Home Forums
06 | 18 | 2013
We have 249 guests and 14 members online
JoomlaNook Forums
Welcome, Guest
Please Login or Register.    Lost Password?
developpement / external links control
(0 viewing) 
Go to bottom
TOPIC: developpement / external links control
#4114
basto
Posts: 3
User Offline Click here to see the profile of this user
developpement / external links control 2 Years, 11 Months ago  
Hi,
I'm working with imageflow linked to an image file and I want to create some text links in the same page but outsite the imageflow zone that are able to control the images like the effect onclick in the imageflow. I know this is in javascript but I think I'll need help at this step.

There is my developpement page : espacevirtuel.ca/test/index.php?option=c...mp;id=7&Itemid=2

please help. thanks
 
Logged Logged
  The administrator has disabled public write access.
#4128
klowther
Admin
Posts: 2974
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:developpement / external links control 2 Years, 11 Months ago  
Hi,

Sorry for the delayed response.I want to create some text links in the same page but outsite the imageflow zone that are able to control the images like the effect onclick in the imageflowI don't understand what you mean. What do you want these text links to do when you click on them?

- Ken
 
Logged Logged
  The administrator has disabled public write access.
#4130
basto
Posts: 3
User Offline Click here to see the profile of this user
Re:developpement / external links control 2 Years, 11 Months ago  
Hi,

when I click on the link It should browse to the image linked to it.


For example : When I click on link #3, the image flow glide to image #3 and When I click on the link #8, image Flow glide to the image #8.

I think its more understandable now
 
Logged Logged
  The administrator has disabled public write access.
#4133
klowther
Admin
Posts: 2974
User Offline Click here to see the profile of this user
Gender: Male JoomlaNook Location: Fremont, NE USA Birthday: 07/23
Re:developpement / external links control 2 Years, 11 Months ago  
Hi,

Here is an example of how you can do this:

Code:

<a href="javascript:void(0);" onclick="var x = -2 * imf.xstep;return imf.glideTo( x, 2 )">Image 3</a><br/>
<a href="javascript:void(0);" onclick="var x = -5 * imf.xstep;return imf.glideTo( x, 5 );">Image 6</a>

Note the onclick attribute. The value of -2 and 2 in the first link represent the number of the image that you want to glide to relative to zero.

The 'imf' in 'imf.xstep' and 'imf.glideTo' is the value of the module id parameter for the copy of the imageflow module that you are using.

Hope that helps.

- Ken
 
Logged Logged
 
Last Edit: 2010/07/23 07:12 By klowther.
  The administrator has disabled public write access.
#4134
basto
Posts: 3
User Offline Click here to see the profile of this user
Re:developpement / external links control 2 Years, 11 Months ago  
It's working ! many thanks!!!

This is the best support I've ever had !
 
Logged Logged
  The administrator has disabled public write access.
#5310
Johnnnnnn
Posts: 3
User Offline Click here to see the profile of this user
Re:developpement / external links control 2 Years, 2 Months ago  
Hi guys,

I've been searching Google for the past 6 hours looking for a solution to this problem for the original version of ImageFlow and not the new Joomla version. Unfortunately the site I'm working on is not in Joomla, so I have to find another way to get this to work. Like Basto, I want to create text links that, when clicked, cause the ImageFlow to slide to that particular image. Any help would be so appreciated!

Here is the version of ImageFlow that I am using: harborfilmcompany.com/wp-content/themes/...any/js/imageflow.js. As you can see on the bottom I'm using the variable 'basic_2' instead of 'imf' like Basto.

Thanks so much!
 
Logged Logged
  The administrator has disabled public write access.
Go to top