Page 30 of 373 FirstFirst ... 2028293031324080130 ... LastLast
Results 291 to 300 of 3721
  1. #291
    Join Date
    Sep 2006
    Location
    Gillette, NJ, USA
    Posts
    35
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    You can't easily call PHP in js. JS is parsed on the client side, and PHP is parsed on the server side - obviously - so any PHP variables you want to access in JS have to be done on the server side.

    Basically, instead of serving up a static js file, you call a PHP script, which creates js (or basically text in any form - which can be js) dynamically. You don't need to do anything special, just have it called from inside <script> tags. If you want, you can have the PHP output JSON or XML and then have the JS call that and parse it - but its a hell of a lot more work than just creating the JS file on the fly with the variables already in it.

    So, I agree with Steven, for simplicity sake either calling a PHP file in the <script> tag is the most flexible option, and Steven's image directory solution is the most straight forward and quick solution.

    The PHP file is the better solution long term, but you can publish your release today if you use Steven's solution, and then develop the PHP file in the next few weeks.

  2. #292
    Join Date
    Jan 2007
    Posts
    6
    Plugin Contributions
    0

    Default Need help Zen Lightbox template

    Hi
    I m a new user of ZEN Cart and found this super add on.
    However I would like to change the position of all the bottom cells.
    Indeed, I prefer to have the description and the close image on the top instead of having it on the bottom.

    Can anyone help me pleaze and tell me what to change ?

    Thanks

  3. #293
    Join Date
    Oct 2005
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Ok I am sure this has been addressed before but for the life of I can not find the answer on here, actually a couple of questions.....
    I only have lightbox installed, no image handler or anything else

    I can open the main image just fine, but when i click next or try to open one of the other product images i get nothing (little circle thing spins for ever)...also I have noticed that the additional product images are displaying the addition of _LRG after the name (not in the original file, getting added somehow)

    Also when in ie, the black-out doesn't reach to the bottom of the page

    if anyone can help it would be much appreciated
    www.rectecmontana.com is the site it is on

  4. #294
    Join Date
    Oct 2005
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    scratch that last post...installed image handler and all is fixed

  5. #295
    Join Date
    Oct 2005
    Posts
    18
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Thanks Alex for the great addition, it really does add a nice little touch

  6. #296
    Join Date
    Jan 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Great stuff!

    How can I adjust the image height and width? I am using IE. It takes up more than what's on my screen and enlarges the images to more than what I need. If I could get it to 300px height or so that would be nice.


  7. #297
    Join Date
    Jan 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    or maybe just 100% of the image size?

  8. #298
    Join Date
    Nov 2005
    Location
    Narnia
    Posts
    822
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by dandy View Post
    How can I adjust the image height and width? I am using IE. It takes up more than what's on my screen and enlarges the images to more than what I need. If I could get it to 300px height or so that would be nice.
    If you're not using IH then it means that you uploaded too large of an image to your folder - either in you /images/ folder or your /images/large folder. Try sizing the image to whatever you want first and then upload it. Lightbox loads the image size that you have already specified.

  9. #299
    Join Date
    Jan 2007
    Posts
    17
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Ah, I didn't see the new settings under Configuration > Images. Now I'm all set!

    TY

  10. #300
    Join Date
    Jan 2007
    Posts
    17
    Plugin Contributions
    0

    Idea or Suggestion Re: Zen Lightbox...

    How can we change the watermark image?

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR