MUST READ: More details about duplicate IDs

Frequently Asked Questions about Quick 'n Easy Web Builder
User avatar
Site Admin
Posts: 3942
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe

MUST READ: More details about duplicate IDs

Post by pablo »

The ID attribute specifies a unique id for an HTML element (the value must be unique within the context of the page).
The ID attribute is used to point to a style in a style sheet, and by JavaScript to manipulate the element with the specific ID.

If the ID is not unique then you will have multiple style definitions for the same ID. In that case the browser will the style that appear last in the style sheet.
Also if multiple objects use the same ID then JavaScripts (like menus, events, carousels, jquery objects etc) will not function properly.
So it's VERY IMPORTANT that all IDs are unique within the context of the page.

Normally Quick 'n Easy Web Builder will give objects unique names automatically. However if you use one of more master pages or master frames then IDs may be duplicated, since the software can not distinguish a master from a normal page and will simply embed the objects exactly as they are.

To check for possible conflicts, please use Menu->Tools->Error Reports.

You can change the ID of an object in the Property Inspector.

We recommend to give objects on a master page names with a prefix like MasterPage_Text1. This will make sure that if the master page is used in another page, the ID of the objects are unique.

You can also enable the option 'Include page name in automatically generated IDs' in Preferences->HTML.