View Single Post
  #2  
Old 02-12-2008, 08:47 PM
xact Offline
pp regular
 
Join Date: Oct 2007
Posts: 46
1. Download image wraparound addon, install it.

2. Delete this after <body> line

Code:
<script type="text/javascript">
	function browsing(){
		var existprev = "<IMAGE_PREVIOUS_ID>";
		var existnext = "<IMAGE_NEXT_ID>";
		if (existprev != "<IMAGE_ID>"){
			document.write('<a href="#" id="menu_browse_prev" title="click for previous" onclick="document.location=\'index.php?showimage=<IMAGE_PREVIOUS_ID>\';"></a>');
		}
		if (existnext != "<IMAGE_ID>"){
			document.write('<a href="#" id="menu_browse_next" title="click for next" onclick="document.location=\'index.php?showimage=<IMAGE_NEXT_ID>\';"></a>');
		}
	}
</script>
3. Replace this:
Code:
<script type="text/javascript">
        browsing();
        </script>
with this:

Code:
<a href='http://www.blur.ro/index.php?showimage=<IMAGE_NEXT_ID_WRAPAROUND>' id="menu_browse_prev"></a>
<a href='http://www.blur.ro/index.php?showimage=<IMAGE_PREVIOUS_ID_WRAPAROUND>' id="menu_browse_next"></a>
Good luck!
Reply With Quote