Jump to content
php.lv forumi

Search the Community

Showing results for tags 'lazload'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PHP
    • Interesanti palasīties
    • Iesācējiem
    • Vispārēji
    • Gatavi skripti
    • Freimworki, CMS
    • Datubāzes
  • Infrastruktūra, serveri, serveru programmatūra
    • Instalācija un konfigurācija
    • Hostinga piedāvājumi
    • Hostinga novērtējumi un atsauksmes
  • Pārlūkprogrammas daļa
    • HTML, XHTML
    • CSS
    • Javascript
    • Citas pārlūku vides un pārlūku valodas
    • Pārlūkprogrammas
  • Citas lietas
    • Darbs
    • Drošība
    • Manas lapu/darba novērtēšana
    • Saites uz noderīgiem resursiem
    • eKomercija un ePakalpojumi
  • php.lv
    • Netēma
    • Atsauksmes, ierosinājumi, lamu vārdi
    • Draza
  • Arhīvs
    • PHP
    • (X)HTML, CSS
    • php.lv

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Labdien. No Tripavisor profila lapas cenšos noskračot atsauksmes rakstītāja avatar bildi, bet saits izmanto lazyload, kas img src tur nevis atribūtā, bet footerī un tikai pie page load ielādē bildes. Līdz ar to mani panākumi ar PHP Simple HTML DOM izpaliek,nevaru neko noselektēk, jo nav jau ko. Avatars divs: <div class="avatar profile_CF48B2B4A31B43EC96F0561F498CE6BF "> <a onclick=""> <img id="lazyload_-247847544_0" height="74" width="74" class="avatar potentialFacebookAvatar avatarGUID:CF48B2B4A31B43EC96F0561F498CE6BF" src="http://media-cdn.tripadvisor.com/media/photo-l/05/f3/67/c3/lilrazzy.jpg" /> </a> </div> Un Ir js masīvs, kas stāv footerī kur katram img#lazyload_-* pretī ir interesējošais img src: var lazyImgs = [ {"id":"lazyload_-759354445_0","tagType":"img","scroll":true,"priority":100,"data":"http://media-cdn.tripadvisor.com/media/photo-l/05/f3/67/c3/lilrazzy.jpg"} , {"id":"lazyload_-759354445_1","tagType":"img","scroll":true,"priority":100,"data":"http://c1.tacdn.com/img2/icons/gray_flag.png"} , {"id":"lazyload_-759354445_2","tagType":"img","scroll":true,"priority":100,"data":"http://media-cdn.tripadvisor.com/media/photo-l/01/2a/fd/98/avatar.jpg"} , {"id":"lazyload_-759354445_3","tagType":"img","scroll":true,"priority":100,"data":"http://c1.tacdn.com/img2/icons/gray_flag.png"} , {"id":"lazyload_-759354445_4","tagType":"img","scroll":true,"priority":100,"data":"http://media-cdn.tripadvisor.com/media/photo-l/01/2e/70/5e/avatar036.jpg"} , {"id":"lazyload_-759354445_5","tagType":"img","scroll":false,"priority":100,"data":"http://c1.tacdn.com/img2/x.gif"} U.T.T. Kā no remote url izvilkt interesējošo img src. Pieduriens.
×
×
  • Create New...