mie2cod
12-06-2006, 12:49 AM
Hi again everyone.
I try to restate the situation that I need with specific example below;
1) Index.html
Font1: [input name=font1 type=text] Link1
Font2: [input name=font2 type=text] Link2
Font3: [input name=font3 type=text] Link3
2) Pop.html
Arial
Courier
Times
Tahoma
- From 'Index.html', if I click 'Link 1', it will trigger 'Pop.html'. From 'Pop.html', if I click 'Arial', it will pass 'Arial' to 'font1' text input.
- if I click 'Link 2', it will trigger "the same" 'Pop.html'. From 'Pop.html', if I click 'Times', it will pass 'Times' to 'font2' text input.
The reason I need to do this is to avoid having to write '40' pop-up if I have '40' font input. Therefore, all the link will trigger "the same" pop-up. How do I do this with JS.
I try to restate the situation that I need with specific example below;
1) Index.html
Font1: [input name=font1 type=text] Link1
Font2: [input name=font2 type=text] Link2
Font3: [input name=font3 type=text] Link3
2) Pop.html
Arial
Courier
Times
Tahoma
- From 'Index.html', if I click 'Link 1', it will trigger 'Pop.html'. From 'Pop.html', if I click 'Arial', it will pass 'Arial' to 'font1' text input.
- if I click 'Link 2', it will trigger "the same" 'Pop.html'. From 'Pop.html', if I click 'Times', it will pass 'Times' to 'font2' text input.
The reason I need to do this is to avoid having to write '40' pop-up if I have '40' font input. Therefore, all the link will trigger "the same" pop-up. How do I do this with JS.