WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • bakery product item in a seperate DIV or page
  • Print
Pages: [1]   Go Down

Author Topic: bakery product item in a seperate DIV or page  (Read 4435 times)

Offline The Brain

  • Posts: 9
bakery product item in a seperate DIV or page
« on: February 22, 2016, 09:00:49 PM »
I'm building a website http://motortrailers.wiola.nl/motortrailers/ with more sections on a page. The overview of te shop is on the bottem of the page. The problem is you have to scroll down if you want to view a single product because the page automatically starts at the top by reload. Is it possible to open the product item in a new DIV with overlay (kind of popup) or in a separate page.

In html/css it is possible: http://www.sevensignature.com/blog/code/pure-css-popup-without-javascript/
I want the target of the [LINK] (bakeryshop) to be opend in a new DIV
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: bakery product item in a seperate DIV or page
« Reply #1 on: February 22, 2016, 11:19:31 PM »
to open the item in a new window, change the code in your bakery page settings in field Overview (Product-Loop)
search for this line and add there the read market code
Quote
<a href="[LINK]" target="_blank"><span class="mod_bakery_main_tit le_f">[TITLE]</span></a>

to integrate the code for the css-popup, use the same field and add there the needed code, but be sure, that you use the placeholders like [LINK], [TITLE] etc.
Logged

Offline The Brain

  • Posts: 9
Re: bakery product item in a seperate DIV or page
« Reply #2 on: February 23, 2016, 01:04:02 PM »
<a href="#popup1">[TITLE]</a>
    <div id="popup1" class="overlay">
       <div class="popup">open popup<a class="close" href="#">x</a>
      <div src="[LINK]"><span class="mod_bakery_main_tit le_f">[TITLE]</span></div>
    </div>
</div>

How do I open the content of the [LINK] ? Where do I go wrong?
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • bakery product item in a seperate DIV or page
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2