Jump to content
php.lv forumi

shadowbox


ziedinjsh

Recommended Posts

nebija neviens piemērs.. laikam bija stulbi domāt ka varēs tik vienkārši..

 

Tas vis man ir vajadz;igs prekš tādas lietas kā.. pie reģistrēšanas sadaļā.. reģistrējos, ja ir kāda kļūda izlec popup un pasaka par to man.. ja esmu veiksmīgi reģistrējies.. izlec popup parāda man to un aizmet un loginu.. :)

 

šeit ir register.php

Link to comment
Share on other sites

<button onclick="Shadowbox.open({content: 'http://php.lv/f', player: 'iframe'})">open</button>

pogu ieliku tikai kā piemēru, bet šo pašu kodu tu vari izsaukt arī attiecīgajā onclick handlerī

 

ja kko vajag parādīt uzreiz, atveroties lapai, tad

onload = function() {Shadowbox.open({content: 'http://php.lv/f', player: 'iframe'});};

Edited by 2easy
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...