Pogledajte određenu poruku
Staro 16. 09. 2011.   #10
AdriaMart
expert
Expert
 
Avatar AdriaMart
 
Datum učlanjenja: 15.03.2011
Poruke: 518
Hvala: 16
20 "Hvala" u 17 poruka
AdriaMart is on a distinguished road
Default

Ovo sa iframom je nekako najlakse , samo neznam koliko je to dobro resenje ???

imam ovde takodje nekih problema sa checkboxovima: http://www.pluspon.com/pon4.html
(ukucajte beograd pa zatim open da nestane layer1-/ima neka sitna greska)
Umesto obicnih checkboxova ubacio sam jquery checkboxove i pojavljuju se ali nerade a sve sam odradio po uputstvu: http://aaronweyenberg.com/90/pretty-...es-with-jquery


ili malo jasnije ... imao sam kod:
<p>
<input name="checkbox" type="checkbox" id="restaurantCheckbox" onclick="toggleGroup('restaurant')" checked="checked" />
Restaurants <br/>
<input name="checkbox2" type="checkbox" id="barCheckbox" onclick="toggleGroup('bar')" checked="checked"/>
Bars </p>


i trebao sam da zamenim sa ovim kodom:
<form action="">
<fieldset>
<legend>Choose some stuff...</legend>
<ul class="checklist">
<li>
<input name="jqdemo" value="value1" type="checkbox" id="choice_a"/>
<label for="choice_a">Here's the 1st selection</label>
<a class="checkbox-select" href="#">Select</a>
<a class="checkbox-deselect" href="#">Cancel</a>
</li>
<li>
<input name="jqdemo" value="value2" type="checkbox" id="choice_b"/>
<label for="choice_b">Here's the 2nd selection</label>
<a class="checkbox-select" href="#">Select</a>
<a class="checkbox-deselect" href="#">Cancel</a>
</li>

</ul>
<div style="clear: both;"></div>
<button class="sendit" type="submit" name="submitbutton" title="Submit the form">Send it!</button>
</fieldset>
</form>



Spajanjem sam dobio ovaj kod:
<form action="">
<fieldset>
<legend>Choose some stuff...</legend>
<ul class="checklist">
<li>
<input name="checkbox" value="value1" type="checkbox" id="restaurantCheckbox" onclick="toggleGroup('restaurant')" checked="checked"/>
<label for="restaurantCheckbox">Restorani</label>
<a class="checkbox-select" href="#">Select</a>
<a class="checkbox-deselect" href="#">Cancel</a> </li>
<li>
<input name="checkbox2" value="value2" type="checkbox" id="barCheckbox" onclick="toggleGroup('bar')" checked="checked"/>
<label for="barCheckbox">Here's the 2nd selection</label>
<a class="checkbox-select" href="#">Select</a>
<a class="checkbox-deselect" href="#">Cancel</a> </li>

</ul>
<div style="clear: both;"></div>
<button class="sendit" type="submit" name="submitbutton" title="Submit the form">Send it!</button>
</fieldset>
</form>


Medjutim postoji negde greska...

Sta bi moglo da bude problem???

Poslednja izmena od AdriaMart : 16. 09. 2011. u 17:56.
AdriaMart je offline   Odgovorite uz citat