Jump to content
php.lv forumi

onClick un links


oris

Recommended Posts

Sveiki, Es gribu izveidot teksta linku, kurš nebūtu redzems, kad uz tā uzbrauc ar kursoru.

 

Meklējot pa internetu atradu šādu varaintu, bet tas ir ar pogu:

 

<FORM>

<INPUT type="button" value="Go GO" name="button6" onClick="window.location='http://www.12hh345.lv'">

</FORM>

 

Vai ko tādu var panākt ar pliku tekstu?

Link to comment
Share on other sites

Tak paņem ar FireBug uzbrauc virsū un paskaties kāds ir kods:

 

<div title="TRUSTe" class="icons truste1" 
onclick="pcj_logClick();window.open('http://www.godaddy.com/gdshop/legal_agreements/show_doc.asp?ci=8935&pageid=PRIVACY','_info')"
style="float: left;"></div>

Edited by codez
Link to comment
Share on other sites

Teksta linku vai attēla linku, bet kad uzbraucu ar kursoru, tad lai tas links nav redzems.

 

Rekur ir piemērs, tikai tā ir kkāda poga:

 

<FORM>

<INPUT type="button" value="Go GO" name="button6" onClick="window.location='http://www.12hh345.lv'">

</FORM>

 

Kad es uz viņas uzbraucu, to linku takš neredzu, bet kad nospiežu, tad nonāku tajā adresē.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...