Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

G

guillaume ark

@guillaume ark
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Split screen webpage: e.preventDefault(); works only while pressing CTRL
    G guillaume ark
    Feb 14, 2019, 2:18 PM

    Hey @mariusjopen
    Thank you for your answer, but I don't really get how I can load my projects in this page...

    Because what I am tyrying to do is something similar to this : (http://spectorbooks.com/)
    So that the right side of the page is kind of a project menu with all the project thumbails displayed and on the left side, make the projects pages appear.

    Is there a way to load the project pages in this page via javascript ?

    Best,
    Guillaume

    General Discussion

  • Split screen webpage: e.preventDefault(); works only while pressing CTRL
    G guillaume ark
    Feb 11, 2019, 2:38 PM

    Hey everybody,
    I am struggling with something on the website I am building right now. I have a split screen and I want on one side (left side) a Project Thumbnail Grid and open the projects on the right side. For this I created a Iframe on the right side and I added this custom code to open the projects in the Iframe :

    <script>
    jQuery(document).on('click', '.thumb', function(e){ 
        e.preventDefault(); 
        var url = jQuery(this).attr('href');
        jQuery("#project-frame").attr('src', url);
    });
    </script>
    

    But I first thought that my code wasn't working, then I realized that it is working only when I press the Ctrl or Cmd while clicking on a thumbail...

    Actually it is only this part who doesn't work properly :

     e.preventDefault();  
    

    I am working on chrome but the issue also happen in firefox...
    Here is the link of the website page : [http://www.ark.amsterdam/category/projects]

    Does someone got a similar issue ? or can someone help me fixing this ?

    Thank you

    General Discussion

I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com

Before you post:
  1. When using a WordPress Cache plugin, disable it or clear your cache.
  2. Update Lay Theme and all Lay Theme Addons
  3. Disable all Plugins
  4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

This often solves issues you might run into

When you post:
  1. Post a link to where the problem is
  2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
  3. If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
laytheme.com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Search