Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
restrict html in a div, so that it has no affect outside of the div
Old 01-22-2009, 01:16 PM restrict html in a div, so that it has no affect outside of the div
hiptobesquare's Avatar
Extreme Talker

Posts: 186
Location: London UK
Trades: 0
hi

im making a page where users can basically create a webpage within a webpage, i want to allow html and css formatting (no other code tho) inside these sub-pages. my problem is that, if a user doesnt open or close their tags properly, their sub-page can mess up the rest of the html on the main-page.

So i need to restrict html to a specified area, ive thought of using iframes and filling the frame src before the main-page loads, but there will be several pages referencing the iframe src, and if the src page is referrenced twice at once, one of the site users will see the wrong sub-page list.

hope im making sense, anybody had to make something similar to this before? anybody know what my search terms might be for such a system?

mark m
hiptobesquare is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-22-2009, 02:26 PM Re: restrict html in a div, so that it has no affect outside of the div
hiptobesquare's Avatar
Extreme Talker

Posts: 186
Location: London UK
Trades: 0
ok think i figured it now --- send a $_GET variable in the url of the frameset src attribute, then run a query on the frameset src page which retrieves something from the db depending on the value of your $_GET variable. then echo it back to your frameset.

if anyone thinks theres a better way, or that something about this way is bad, please let me know
hiptobesquare is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to restrict html in a div, so that it has no affect outside of the div
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43508 seconds with 12 queries