Add a link to a field in the layout grid

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
heynen
 
 
Posts: 14
Joined: Sun Dec 31, 2017 4:27 pm

Add a link to a field in the layout grid

Post by heynen » Sun Jan 07, 2018 10:49 am

Dear all,

I would like to set a different link for every field in a layout grid (every rectangle should link to a different subpage).

How can I do this?

Thank you!

Malte

User avatar
Pablo
 
Posts: 14545
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Add a link to a field in the layout grid

Post by Pablo » Sun Jan 07, 2018 11:05 am

You cannot assign links to grid columns, you will need to place (linkable) objects inside the grid.
A grid is used for layout purposes only, it does no have have a size. So without child elements it would not be visible in the browser.

heynen
 
 
Posts: 14
Joined: Sun Dec 31, 2017 4:27 pm

Re: Add a link to a field in the layout grid

Post by heynen » Sun Jan 07, 2018 12:42 pm

Thank you for the fast answer, again!

The problem in my case is: The background of the layout grid is an image. In the layout grid, there is some text so that the text is placed on this image.

I need the link on the whole area of the image. (If I place the link on the text, the link will just cover a part of the area).

So how can I achieve this?

Thank you!

Malte

User avatar
Pablo
 
Posts: 14545
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Add a link to a field in the layout grid

Post by Pablo » Sun Jan 07, 2018 12:56 pm

This is not possible. The grid itself is just guide for the layout, it does not have a height, so it will not get mouse events.
But you can assign a link to the container of the text (via events). Of course this will disable all standard click behavior of the object (and text).
For example, you will not longer be able to select the text because click trigger the link.

heynen
 
 
Posts: 14
Joined: Sun Dec 31, 2017 4:27 pm

Re: Add a link to a field in the layout grid

Post by heynen » Tue Feb 13, 2018 10:36 pm

Thank you, that worked!

Would it be possible in future releases to define an event that changes the look of the mouse pointer (so that users get a hint that they can click on that area)?

User avatar
crispy68
 
 
Posts: 426
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Add a link to a field in the layout grid

Post by crispy68 » Wed Feb 14, 2018 3:31 am

Take note of the ID of the text box and add this to your page HTML on the 'Between <head></head> tags' tab:

<style>
#wb_Text1{cursor:pointer;}
</style>

Change 'Text1' to match your ID

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests