Poll

lightbox button inside it's own iframe, to elliminate whole page refresh:

Yes
3 (42.9%)
No
4 (57.1%)

Total Members Voted: 6

Voting closed: April 24, 2003, 10:43:31 PM

Author Topic: Lightbox button in an iframe :: check/uncheck inside it?!  (Read 7572 times)

0 Members and 1 Guest are viewing this topic.

Offline HelpMeNow

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
Lightbox button in an iframe :: check/uncheck inside it?!
« on: April 24, 2003, 10:43:31 PM »
Hi jan,

Would you plz concider doing the lightbox check/uncheck in iframe or something so that it doesn't refresh the whole page?

*** :idea: What I mean by this is that have just the lightbox button inside of an iframe so when ppl click it to check or uncheck an image in their favorite, only the button would refresh and carry out the lightbox function.

Thank you!

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Lightbox button in an iframe :: check/uncheck inside it?!
« Reply #1 on: April 25, 2003, 06:26:04 AM »
How about something like this:

When user clicks lightbox or favorites button, a small popup window appears informing the user that the image has been placed in his lightbox, and a checkmark will appear next time he views the thumbnails.

This should be pretty simple to do, would eliminate wasted bandwidth of reloading the page every time someone clicks on a lightbox or favorites button and would speed up the systm overall.

Offline HelpMeNow

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
Lightbox button in an iframe :: check/uncheck inside it?!
« Reply #2 on: April 25, 2003, 06:54:10 AM »
What I propose is that just the lightbox button alone would be in an iframe and that iframe that has the lightbox button is the only thing that will refresh and get checked or unchecked.

example:

------------whole page----------------------

----
----

<iframe>lightbox (unchekced)</iframe>


----
-------------End of Page---------------------

now when someone clicks the lightbox botton that's inside the iframe, that will carry out the function, and refresh just the content of the iframe and also change the status of the button to checked or unchecked.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Lightbox button in an iframe :: check/uncheck inside it?!
« Reply #4 on: April 27, 2003, 07:31:52 AM »
Thanks V@no, that works perfectly.
A little less bandwidth in use now.

Offline HelpMeNow

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
Lightbox button in an iframe :: check/uncheck inside it?!
« Reply #5 on: April 29, 2003, 12:50:46 AM »
Thanks V@no for great work. I simply love it. No more refresh!

Thanks again.....  :D