Jump to content

Recommended Posts

I am creating a script where people can create a tour like Bootstrap tour without editing their website code. The code will be generate on my website and they just have to add a link on their website for the tour to work.The problem i am having is when the person website have the same for example

  div.page-container.page-header-fixed > div.page-footer > div.page-footer-wrap.bg-dark-gray > div.page-footer-holder.page-footer-holder-main > div.row > div.col-md-3 > h3

it will place the **tour pop up** on all items with the same structures like above code is their a way of telling the script what structures to apply to code to like maybewhat line the code onwhere on the page the structures is like **above x below y right side of z on the left side of f**or by what is contains inside of the divso that it won't show the tour on the wrong item

Edited by beedo2008
Link to post
Share on other sites

No it shouldn't, their css would follow their css rules, your css and html with reference to specific class would only affect your css rules, it would only possibly affect their site only if they used your specific class which is highly unlikely.

Link to post
Share on other sites

Sorry think I didn't say it clear Step one person enter their url step two person website load in a iframe step three the person click on the element they want to add the tour on Step four a pop up shows for you to enter the data you want to show in that tour Problem if the person website elements have the same structure like div > menu > h1 and all the other elements in the menu is the same it will select all of them. But in side the elements div > menu > h1 could have text "home" and the other could be "about us" or anything even image video etc depending on what they choose to add the tour on

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...