Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Using highslide to view images

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 18-11-2009
Member
 
Join Date: Mar 2009
Posts: 1,223
Using highslide to view images
  

I have pictures that are inside the tag <a> </ a>. I can see it is in the input tag that is hidden. When I click on an image I have an event 'onclick' which activates and supports setting the image (but not all, than that are not hidden). Is it possible to take into account the hidden images? I use 'highslide' to a kind of image galleries.

HTML Code:
<a href="<?php echo $server.$image ?>" class="highslide" title="" onclick="return hs.expand(this, config1)">
<?php if ($compt_image == 1) {?>
<!--<img src="images/figures/one.jpg" />-->
<input type="hidden" name="one" value="<img src='images/figures/one.jpg'>">
<?php }else if ($compt_image == 2){?>
<!--<img src="images/figures/two.jpg" border="none" />-->
<input type="hidden" name="two" value="<img src='images/figures/two.jpg'>">
<?php }else if ($compt_image == 3){?>
<!--<img src="images/figures/three.jpg" border="none" />-->
<input type="hidden" name="three" value="<img src='images/figures/three.jpg'>">
<?php }else if ($compt_image == 4){?>
<!--<img src="images/figures/four.jpg" border="none" />-->
<input type="hidden" name="four" value="<img src='images/figures/four.jpg'>">
<?php }else if ($compt_image == 5){?>
<img src="images/figures/five.jpg" border="none" />
<?php }else if ($compt_image == 6){?>
<img src="images/figures/six.jpg" border="none" />
<?php }else if ($compt_image == 7){?>
<img src="images/figures/seven.jpg" border="none" />
<?php }else if ($compt_image == 8){?>
<img src="images/figures/eight.jpg" border="none" />
<?php }else if ($compt_image == 9){?>
<img src="images/figures/nine.jpg" border="none" />
<?php } ?>
</a>

Reply With Quote
  #2  
Old 18-11-2009
Member
 
Join Date: Nov 2008
Posts: 1,022
Re: Using highslide to view images

Its not even how it hide its comments, in addition to nCode is not terrible, for else if it is possible than use a switch, but in addition its architecture is not that good

Changes the name of your pictures to 1, 2, 3 .....

and even

PHP Code:
<?php   $c 5?>
<img src="images/figures/<?php echo $c ?>"/>
Reply With Quote
  #3  
Old 18-11-2009
Member
 
Join Date: Mar 2009
Posts: 1,223
Re: Using highslide to view images

Yeah well thanks of architecture! Yes it is commented out but my tests early! In fact thanks to view an image visible, but I can return multiple images in this or other (return also hide images).
Reply With Quote
  #4  
Old 18-11-2009
Member
 
Join Date: May 2008
Posts: 685
Re: Using highslide to view images

Use Highslide Editor. The Highslide Editor is a visual tool that lets you configure most of the numerous Highslide options without writing code, and upload the results directly to your web server. This is not only a great help, but also it saves time for professionals who don't have to read through the API documentation to get things done.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Using highslide to view images"
Thread Thread Starter Forum Replies Last Post
Software to view images in linux Kingfisher Windows Software 5 11-01-2010 09:24 AM
Can't view Images in Windows Photo Viewer KALLIYAN Windows Software 4 09-01-2010 02:16 AM
Unable to view restored Images Crooked Windows Software 5 07-01-2010 02:31 PM
How to view the images on the DVD-R DeMario Technology & Internet 3 19-11-2009 04:30 AM


All times are GMT +5.5. The time now is 10:42 PM.