Force image to save when clicking on download link - javascript

I am using a wordpress theme that show images in lightbox when clicking on theme, but it also do it for links, I want to kip the lightbox for the images, but offer to download when clicking on download link, the theme I am using is baic from themify
and here one option inside the theme, when deactivated it just open the image in new window
here a link http://bit.ly/1xG2dQC to the page I am working on, you can see the download link under the image
thanks

Related

Image gallery that is opened via a preview with fancybox

I wanted to create an image gallery that opens via a preview and links to another page where the images are located.
like this one https://fancyapps.com/playground/XU. but the link must call up and open the image gallery located on another page.
I tried using ajax but I can't. Can anyone help me?
Your question is not clear:
"links to another page where the images are located"
"open the image gallery located on another page".
If you're thinking that Fancybox will load the content of another page to find the gallery links and then use those to display the image gallery, sorry, but that's not supported.
But you can always create your own click handler that determined the content source and then use the Fancybox.show() method to programmatically start Fancybox.

Must click like button before see download link (html or javascript)

I have a document download link on my website and I want everybody must click like button (facebook page), before see download link using javascript or html.

Wordpress top navigation menu links inactive

I'm using a theme called Ironbull and when wordpress generates a menu the custom links are inactive. They are shown and when I hover the links the URL shows, but it wont load the link or open a new window.
There are a few "scroll to ID" links which works on the frontpage, but thats it. If I right-click on the link and press open in new window it loads.
I'm working on this site localy so please tell me if you need me to post any part of the code.
Many thanks

how to preserve current state in image gallery?

I have a website(dwarfdog.com/cds_studio) which uses an image thumb gallery and has a next/prev arrow to view move images from that gallery. I can also view a detail page of an image by clicking on to it.
The requirement is when i am navigating to a second/third page in the gallery and click the detail page to view and when i am clicking "back" button on the detail page it takes me to the first page of the gallery rather the one i was in.
This website is developed in PHP(wordpress) for backend coding and jquery for the image gallery section.
Can anyone suggest me how do i preserve the current state of the gallery when i am coming from detail page to gallery page by clicking "back" button?

Fancybox / Galleriffic conflict - main image navigation link

I'm in the process of building a web showcase page that uses Fancybox v2.0.6 to open a hidden div when a user clicks a project thumbnail image. Each Fancybox div contains an overview for each project and a Galleriffic gallery of screenshots. I've been able to utilise multiple Galleriffic galleries on this one page thanks to this Google Group Discussion, but have run into issues with the main image.
By default in Galleriffic, users can navigate the gallery by clicking the main enlarged image or by choosing a thumbnail. The thumbnails are working no problems. However, when I click the main image, instead of showing the next image in the gallery, the Fancybox div disappears and a loading spinner appears - I think it belongs to Fancybox. If I then click the spinner div it closes and I'm back to the original webpage.
The best solution would be to remove the linking from the main image and just use the thumbnails to view the gallery. My various attempts have been unsuccessful - either the image vanishes or the spinner just continues to load.
Any ideas/suggestions are welcome at this stage! If you need to see any code to play around with, just let me know and I will post.
Many thanks in advance!
EDIT: Here's a link to a stripped-down version - if I view it locally then the loading spinners just sits there, online I get a URL error in the Fancybox: "[object HTMLDivElement] was not found on this server".

Categories

Resources