List sending to another website and remember the link -


hello have made list in lets homepage website idea when choose option send me page name pages.htm , want remember choise of li.

homepage option 1--------> go pages.htm , add in iframe link1 option 2--------> go pages.htm , add in iframe link2 option 3--------> go pages.htm , add in iframe link3 

here code @ page pages.htm :

<a href="http://www.altasoft.gr/hermes/index.html" target="myfra"><span class="description">Ερμής proffesional<br /> <em>(Ολοκληρωμένο Πληροφοριακό Σύστημα Οργάνωσης Πολιτικού Γραφείου)</em></span></a></li>         <li style="margin-left: 0px" class="level1 parent"><a href="http://www.koino.gr/" target="myfra"><span>Κοινόχρηστα</span></a></li>         <li style="margin-left: 0px" class="level1 parent"><a href="http://www.shae.gr/" target="myfra"><span>Συνεχές Ηλεκτρονικό Αρχείο Εκπαίδευσης </span></a></li>         <li style="margin-left: 0px" class="level1 parent"><a href="pages/pagetk.htm" target="myfra"><span>Ταχυδρομικοί Κώδικες Ελλάδας</span></a></li>         <li style="margin-left: 0px" class="level1 parent"><a href="http://sms.altasoft.gr/panel/index.asp?lang=el&disp_function=user_login&id=5e8a0f4b-063b-4a7a-81fe-99579af44baa" target="myfra"><span>sms bulk messenger center </span></a></li>         <li style="margin-left: 0px" class="level1 parent"><a href="http://www.altasoft.gr/software/tam.htm" target="myfra"><span>Ταμειακή και Εμπορικό για Β' κατηγορίας βιβλία</span></a></li> <li style="margin-left: 0px" class="level1 parent"><a href="http://www.altasoft.gr/software/tam.htm" target="myfra"><span>Οργάνωση παιδιατρικού ιατρείου</span></a></li> 

my problem @ homepage.htm want same links lead pages.html , send @ iframe correct link thx!

you can javascript.

sample code:

...css: <style>     ul li .selected{         font-weight:bold;     } </style> ...html: <ul>     <li><a href="" onclick="active_li(this)">page 1</a></li>     <li><a href="" onclick="active_li(this)">page 1</a></li> </ul>  ...js: function active_li(element){     element.setattribute("class", "classname"); } 

basically, when click a tag, call javascript function change class of li element. , when happens apply css style.

this refers clicked element.

update:

maybe referring to:

<iframe src="demo_iframe.htm" name="iframe_a"></iframe> <a href="http://www.w3schools.com" target="iframe_a">domain.com</a>

from: http://www.w3schools.com/tags/att_iframe_name.asp


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -