davidr
Posts: 21
Joined: Sat Nov 11, 2006 1:11 pm

How to hide the Path of the Image .?

Hi :
is there any possibility to hide the path of the image on the status bar like " Javascript:"
so that user will not see the path ?

thanks again .
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

You can write href="javascript:void(0)" and put your image path in the rel attribute instead. However, this is not recommended because users without javascript support will not have a proper fallback. A better (but more cumbersome) way is that the href attribute point to a HTML file showing the picture.
davidr
Posts: 21
Joined: Sat Nov 11, 2006 1:11 pm

admin wrote:You can write href="javascript:void(0)" and put your image path in the rel attribute instead. However, this is not recommended because users without javascript support will not have a proper fallback. A better (but more cumbersome) way is that the href attribute point to a HTML file showing the picture.
we found it
thanks anyway .
torstein.honsi
Site Admin
Posts: 9215
Joined: Thu Nov 09, 2006 11:22 am
Location: Vik i Sogn, Norway

Code: Select all

<a href="my-fallback.html" 
      rel="large-image.jpg"
      class="highslide" 
      onclick="return hs.expand(this)">
   <img src="thumbnail.jpg"
      alt="Highslide JS" title="Click to enlarge" 
      height="100" width="100" />
</a>
or

Code: Select all

<a href="javascript:void(0)" 
      rel="large-image.jpg"
      class="highslide" 
      onclick="return hs.expand(this)">
   <img src="thumbnail.jpg"
      alt="Highslide JS" title="Click to enlarge" 
      height="100" width="100" />
</a>

Return to “Highslide JS Usage”