AlfieWebDevTips Homefor new and experienced developers
[Home Home] [Web Development Web Development ] [Code Generators Code Generators ] [Resources Resources ] [Forums Forum ] [Contact Us Contact ] |WebDevTips Privacy Privacy |

WebDevTips Pick Of The Day : ".$todaytip[$today]." |

"; ?>
Print This Page



 


You are here : Home - Code Generators - Click & Go

Click & Go Generator



Updated 21 Nov 2002 fix for opera 7

Create a Javascript click + go menu for your site.

If you are looking for a non javascript alternative then try the php version.

EXAMPLE

Step 1
Decide how many links you want to have in the list.
Enter the value in the box and click the go button.

Step 2
Enter the default text you want viewed when the page loads.

Enter the target frame/window name (leave blank to display the page in the current window)

Enter a name for the menu. If you plan on having more than 1 drop down menu per page then give each one a unique name. The name mustn't contain any spaces or special characters.

Enter the URL you want the link to go to and the text that will appear in the menu.

Once all the fields are filled in click the submit button.

Step 3
Copy the code and paste it into your document.




OK Let's get started

How Many Links :



Your code will appear below
Click to preview how your code will look.
setSearchType("lite"); if(file_exists($thefile) && time()-filemtime($thefile)<$cachetime*60){ $xml = implode('', file($thefile)); } else {$savetocache=1;} if($savetocache){ $xml = $amazonAPI->browseNodeSearch($input,$mode); $cf = fopen($thefile,"w+"); fwrite($cf,$xml); fclose($cf); } $amazon = new AmazonLiteXMLParser($xml); $x=0; if(!is_array($amazon->records)) { 'Error!'; exit; } if(isset($amazon->errorMsg)) { echo "
{$amazon->errorMsg}
"; exit; } ?> records as $ind => $arr) { $arr['productname'] = preg_replace("/(.*\/sup>)/","TM",$arr['productname']); $x++; if ($x <= 4){ //if($x==1 || $x==4){echo "";} ?> ";} } } ?>

Cover


 


Got any comments? Why not share them in our forum?

This tool is provided free of charge. Use of the generated code requires no obligation on your part to link to this site either by choice or by forcing a visible link to appear in the generated code.

No link to this site will appear on any pages that use code generated from this site. However, the generated code does produce a comment specifying the url of the code generator ( it is hidden and will never appear to your visitor ). You are free to remove the line but we would appreciate it if you left it in place. Thanks :)






Google
 

[back to top of page]   

[labelled with icra -  - this link will open in a new window] [RSS Content]

[Copyright © WebDevTips]