Jump to content
php.lv forumi

-->Balsoshana


FIX

Recommended Posts

Hey! Man ir 1 baigaa probleema- esmu uztaisiijis balsoshanas formu (ar <form>), tachu man ir nepiecieshams, lai nospiezhot pogu balsot rezultaati tiktu atveerti jaunaa logaa(tikai taaddaa, kura izmeeri ir iepriesh noteikti- piem atveras 300x100 lielaa logaa). Meegjinaaju ar target, tachu tad atkal nevar noteikt loga izmeerus. Mosh te darbs javascript? :blink:

Link to comment
Share on other sites

  • 1 month later...

Jāizmanto popup logs.

 

Skripts iekš head:

 

<head>

<script language="JavaScript">

<!--

function openRinst(URL) {

window.open(URL,'tone','width=300, height=100, scrollbars=no');

}

 

-->

</script>

</head>

 

 

Tad iekš body vai tāpat (tajā pašā failā):

 

<a href="java script:openRinst('fails.htm');"><font face=verdana size=-1 color=black>Uz failu</font></a>

 

 

Jāizmaina tikai fails.htm un Uz failu.

Link to comment
Share on other sites

×
×
  • Create New...