I run a photography / writing website called http://www.shutterscript.com. My photos are hosted off-site at smugmug (http://gallery.shutterscript.com). I have been working over the past few days to make my smugmug gallery and my main site look the same. In the process of discovering CSS (and its steep learning curve) I have run into a problem linking to certain components on my gallery page. The gallery uses javascript heavily and after considerable searching I have been unable to figure out how to link to one of their javascript components. All my search results turn up how to open one of my own links in a javascript window which is not what I am trying to do.
Here is what I want to do exactly:
The following link will take you to one of my photos:
Question
Kal525
I run a photography / writing website called http://www.shutterscript.com. My photos are hosted off-site at smugmug (http://gallery.shutterscript.com). I have been working over the past few days to make my smugmug gallery and my main site look the same. In the process of discovering CSS (and its steep learning curve) I have run into a problem linking to certain components on my gallery page. The gallery uses javascript heavily and after considerable searching I have been unable to figure out how to link to one of their javascript components. All my search results turn up how to open one of my own links in a javascript window which is not what I am trying to do.
Here is what I want to do exactly:
The following link will take you to one of my photos:
http://gallery.shutterscript.com/gallery/3782986#218041532
If you click the "buy this photo" button directly above the photo it launches this cool javascript window by calling the following command:
java script:addCartSingle(ImageID);
Is there a way I can link directly to this javascript window with an href link?
Thanks in advance.
Link to comment
https://www.neowin.net/forum/topic/599934-how-do-i-direct-link-to-a-javascript-component/Share on other sites
5 answers to this question
Recommended Posts