Showing posts with label eksperymenty. Show all posts
Showing posts with label eksperymenty. Show all posts

Bug in jQuery 1.4.2 toggle() function

jQuery toggle() function don't affect elements hidden by thier parent object.

Background of the problem

In latest project i have build classical order form with fields divided into two groups:
  • payment user data
  • postal user data

Very often postal data are the same like payment so like every other page do i made button "Postal same as payment data". I used jQuery toggle() function to toggle unnecessary inputs. But the problem came when I crossed this functionality with "user or company" option which was toggling some of the company related fields.

Fun staff with Amazon URL

Just want to share with my discover...

when i was reading article about URL at knowledge center i found an example of Amazon URL.

what a nice advantage they did... check those URLs:

http://www.amazon.com/Avatar-Two-Disc-Blu-ray-DVD-Combo/dp/B002VPE1B6/ref=pd_ts_zgc_d_16295751_1_i?ie=UTF8&s=dvd&pf_rd_p=1244297022&pf_rd_s=right-4&pf_rd_t=101&pf_rd_i=193640011&pf_rd_m=ATVPDKIKX0DER&pf_rd_r=0F0NCYHK8871YX8XWSFM

after cutoff all unnecessary stuff we can start play:

http://www.amazon.com/whatever/dp/B002VPE1B6/whatever

http://www.amazon.com/LOVES-eBAY/dp/B002VPE1B6/but-eBAY-dont-care

http://www.amazon.com/dobiatowski-great-deal/dp/B002VPE1B6/

Lets promote some funny URL by back-linking to it. :-)) who is interested?

P.S.
Myślę, że wszyscy zrozumieli co i jak. Więc powtórzę tylko:
Może by tak wypromować jakiś śmieszny adres, ktoś zainteresowany?