lucky3809 Posted May 30, 2010 Share Posted May 30, 2010 I looked everywhere and cant seem to find anything in the forum and tried w3schools with no help there either. How would I go about getting a quote inside another quote for an example... ExampleExample... I think its called quote in another quote tag, I've been trying to read up on it for over a week and cant seem to find anything, and wish to use that code in my forum that im coding, if anyone can either help or direct me to a website I would greatly appreciate it ;) Quote Link to comment Share on other sites More sharing options...
Djkanna Posted May 30, 2010 Share Posted May 30, 2010 I think it's called multi threaded quotes but I'm not sure Quote Link to comment Share on other sites More sharing options...
Zeggy Posted May 30, 2010 Share Posted May 30, 2010 <div class="quote> <div class="quote>nested quote here</div> outside quote here </div> Is this what you mean? Quote Link to comment Share on other sites More sharing options...
Spudinski Posted May 30, 2010 Share Posted May 30, 2010 To get the contents of the quote, create IDs for the quotes, but keep it to a structure. If you are pulling the data from a database it should be very easy to do this. <div class="quote" id="quote_1"> <div class="quote" id="quote_1_1"></div> </div> { ... } <script type="text/javascript"> selectQuote = function(id, level) { obj = document.getElementById("quote_" + id ((!level) ? "" : "_" + level)); return obj.innerHTML; } </script> Quote Link to comment Share on other sites More sharing options...
lucky3809 Posted May 31, 2010 Author Share Posted May 31, 2010 <div class="quote> <div class="quote>nested quote here</div> outside quote here </div> Is this what you mean? Yes that is what i mean. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.