PDA

View Full Version : hyperlink code generator


shout it
01-29-2009, 02:46 PM
I want to create a page that will create code for a hyperlink to my website.
The idea is simple i will have a page with a table divided into sections.
the first will contain a number of different images with a radio button next to each. The user must click one of the radio buttons which will then store the code source for that image in a table at the button.
The user will then move down and click a radio button next to which catogory the link will goto (the text of the catogory will be visible eg flowers , the code would be www.domainname.com/flowers.php)
Again the code would be added at the bottom which the image source.
When complete the idea is the user then copies the code in the box for the hyperlink code and then pastes it into their website.

Anyone help as i have very limited coding experiance or knowledge
Thanks
Craig

domedia
01-29-2009, 02:52 PM
Did you already have a general idea how to achieve this?
How did you plan to store the different links?

shout it
01-29-2009, 03:01 PM
Being honest i do not know where to start with the coding side of things

shout it
01-29-2009, 03:08 PM
for the images i would like to have a radio buttons to the side of the images the image would be called into the page with <img source http://www.domainname.com/images/image.jpg etc When the person presses the radio button the image source will be placed into a box
then the next part would be for the part of the website to goto

shown in text eg business but the text would be hyperlinked to the part of my website so they can check by clicking to make sure it is the correct part of the website. When the radio button is clicked the hyperlink part will be collected and put into the box with the image source to produce a link the user can copy and paste and put into their website.