Index Link

mpcv / 2013-08-20 16:20:11   

Hi everyone!

I've searched the forum and I've seen some users discussing the whole index link issue, but I didn't see the answer for the question I have.

Is it possible (somehow) to have a hidden index link? like an exhibit... I ask this beacause on page options that option does not exist unlike the exhibits...

What I would like to do, basically was, to have one of the visual index thumbnails not linking to any specific project, but linking to an exterior website.

The index link lets me do that but has 2 inconvenients:

1 - besides the image thumbnail I can't hide the name of the index link because there's no option to do it...
2 - if I don't choose "on" in the option "open in new window", the link won't work at all...

Is it possible to hide the index link? and is it possible to open the link in the same browser window? instead of opening in a new window?

thanks in advance!

arsondpi / 2013-08-20 19:34:51   

Well I use lateral thinking when I need to do something very specific that should not require a lot of effort.
In this case I would use a hack - the use of a meta redirect tag in the text box of a simple hidden exhibit with a thumbnail.

  1. <meta http-equiv="refresh" content="0;URL='insert_your_url_to_redirect_here'" />
mpcv / 2013-08-21 12:48:39   

Hi arsondpi!

Thank you for your answer, that hack is really useful and solves things!

I have another quick question related to this...

Is it possible to remove the link of one thumbnail of visual index?

I mean, to have several thumbnails of visual index that go naturally to each project when you click in each thumbnail, and then to have one specific thumbnail that is there, but is not clickable..

My Idea was to have one thumbnail with a project image saying "soon!" (regarding one project that is not yet finished, but will be online soon), that was not clickable.. the thumbnail would be there just as a teaser for a future project...

If using firefox, you can right click your site, then click "Inspect Element (Q)", and then you will see the specific numerical nodes that correspond to each thumbnail, something like this:





Would it be possible to remove the link of one specific visual index thumbnail using the corresponding node (in this case node177) ? Is it something that could be done with a simple hack?

Thanks in advance!

mpcv / 2013-08-21 12:51:06   

sorry, the code didn't appear, this is the code of the inspect element I mentioned:

  1. <div id="node177" class="picture_holder" style="width: 325px; height: 304px;">
  2. <div class="picture" style="width: 300px;">
  3. <div style="padding-top: 0;">
  4. <a class="link" href="link_of_the_exhibit">
  5. <img width="300" height="236" 
  6. alt="link_of_dimgs_thumb.jpg/dimgs/thumbs.jpg" 
  7. src="link_of_dimgs_thumb.jpg/dimgs/thumbs.jpg"></img></a></div>
arsondpi / 2013-08-21 13:05:36   

I guess you can again hack things - this time with javascript maybe to cancel the link.
But why not type "Soon" along with the title and then again "Soon" if one clicks that link?
Again use lateral thinking - no need to go ever the top...

mpcv / 2013-08-21 15:13:54   

I think It would be a cleaner way in terms of navigation to have that "unclickable teaser thumbnail" instead of having written "soon" along with the title and again "Soon" if one clicks that link.. If I could manage to do that (I don't know if I can..)...

  1. but you were mentioning canceling the link with javascript... I did a quick research in the web and I found things like:  onclick="return false;

in here:
htmlgoodies.com/beyond/javascript/…

and also here:
stackoverflow.com/questions/866583/…

This second website "stackoverflow" has a good example of code implementation, but it is an exemple for one individual specific link I think... For links automatically generated by the visual index format I don't know if it would be that "simple"...

I know the node number of the thumbnail, and in those websites above that "onclick return false" code line seems to be the trigger to canceling links... But I don't know how to apply the javascript accordingly... Any Ideas?

thanks in advance!

This thread has been closed, thank you.