HTML - What Is All This <![cdata[ ]]> Stuff I Keep Seeing?
What is the <![CDATA[ ]]> thing used for in HTML code?
Similar TutorialsI am trying to get some information out of an html string and I am not getting any luck and preg_matching is a little new to me. Here is the text <A href="http://www.dentalplans.com/afftracker.asp?affid=14511&cr=4210" target="_blank"><img src="http://images.dentalplans.com/images/336x280/336x280dp.gif" width="336" height="280" border=0 alt="Affordable Dental Coverage from DentalPlans.com"></a> What i need to do is extract all the host stuff and the image stuff into 2 seperate variables Same he <script type="text/javascript"><!-- google_ad_client = "pub-8284804724746047"; google_ad_width = 728; google_ad_height = 15; google_ad_format = "728x15_0ads_al_s"; google_ad_channel = ""; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Can anybody help? (It's very urgent) I am trying to pass some HTML code though XML but the browser is ignoring the HTML tags as oppose to turning them into HTML tags. In the example below, I want to create a link to Google with CData, but the browser outputs "<a href="http://www.google.ca/">Google</a>" as oppose to creating a link to Google. Code: <![CDATA[<a href="http://www.google.ca/">Google</a>]]> Hey guys.. im sure this is an easy one for you. I am trying to put an img tag into my html code... it's actually an xml file.. here's the code snippet Code: <greeting> <![CDATA[<IMG SRC="superdopetitle.png" ALT="SuperDopeTitle">]]> </greeting> but it just posts the "img src="super...." as text.. not the picture. Please help .. what am I missing? hi I have used this cdata like this <script type="text/javascript"> <![CDATA[ function change_palette() etc...... ]]> </script> but the javascript is not at all working in IE.. I use script's in between a lot so I want this to be valid in w3c....... I tried this also //<![CDATA[ //]]> but no use, can I know how to use this without effecting the functionality in any browsers? its urgent plse... Ok, I'm not really sure how to explain this... I have a list of objects (ex, pic1.jph, text1,link1,pic2.jpg) I want to sort of tag each one with a "tag" so lets say I tag the two pictures with tag "P" I want to be able to call up all objects with tag "P" in a page. So For Example pic1- TAGS= P,Q,R,S link1- TAGS= A,P,S link2- TAGS= B,S,R pic2-TAGS= P,S, So basically I want to know how to "tag" the objects with a variable and then how to "call them up" in a certain spot on the page. thx in advance Sup bro's Jow checkit, me and my homies 'r like building this website fo the rappin we do. But when us is like checkin it on the firefox browser its like all messed know what im sayin. On The other one its like real tight, but this is some weird stuff goin on. I is not into the webstuff man, too complicated. But I was just thinkin you bro's could tell me wassup with this browser stuff. peace out man, Lil' B Hello all, I'm having some trouble getting html to display in my <layer> tags, for example if I use the code: HTML Code: <layer src = "myfile.html"> The file that I'm trying to display does not show, even though it is in the same local directory. Has anyone else ever tried this successfully? Thanks! Hi, i have some scripts running my page and they are displayed one on top one under and one under in middle. How do i modify the scripts so all will be shown under. The web page with scripts is here Now this code is shown bottom left and its shown in a good position: <!--/Start Trafic.ro/--> <script type="text/javascript">t_rid="rohanmediacom";</script> <script type="text/javascript" src="http://storage.trafic.ro/js/trafic.js" ></script><noscript><a href="http://www.trafic.ro/top/?rid=rohanmediacom" target="_blank"><img border="0" alt="trafic ranking" src="http://log.trafic.ro/cgi-bin/pl.dll?rid=rohanmediacom"/></a> <a href="http://www.trafic.ro">Statistici web</a> </noscript> <!--/End Trafic.ro/--> Now i want this code next to the one above and its code is: -- Start cod www.probanner.ro --> <center> <script language="JavaScript"> document.write('<s'+'cript language="JavaScript" src="http://www.probanner.ro/work.php?n=2675&size=2&j=1&c=&code='+new Date().getTime()+'"></s'+'cript>'); </script> <NOSCRIPT> <IFRAME SRC="http://www.probanner.ro/work.php?n=2675&size=2&c=" width=125 height=125 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME> </NOSCRIPT> </center> <!-- Stop cod www.probanner.ro --> How do i do that ? Cheers Ok just give me your views on this topic, I have disabled right click, source code, offline webpage, links in status bar, opera users, adobe web capture, text select, clipboard/printscreen, drag and drop, psage printing, encrypted the entire page, copy right blabla.... also protected image using server side script (php) I think its still possible but very limited now , what do u dudes think, As You Can see that the url i am providing includes stuff which is aligned left and i want to align it to center how can i do it . Guide me if there is an appropriate way to align it to center without changing the whole of the style sheet. http://www.ims-sc.org REGARDS I know how to have my page redirect to a different page. the problem i have is that I want somebody to go to my page, click on a link, which will bring them to a new page, have the new page open up an instant mesanger window to my screen name, and then redirect back to my main page. I have all of the code to open up the IM window, but I do not know how to get the browser to redirect after that has happened. as of now, this is my page i want to have the code to redirect to my main page on. Code: <html> <head> <title>WeirdClayJisKOOL//AIM-redirect</title> <style type="text/css">.sneaky { display: none; visibility: hidden; }</style> <script language="javascript"> function reDirect() { document.aim.submit() } </script> </head> <body onLoad="reDirect()"> <B>Generating AIM..</B> <a href=http://www.mymainpage.com><h1>Return to Mymainpage</h1></a> <form method="post" action="aim:goim?screenname=WeirdClayJisKOOL&message=Hey!" name="aim"> <span class="sneaky"><input type="submit" value="AIM"></span> </form> </body> </html> i'm not sure if this post belongs in this section because i don't know if i would use html, or javascript or what. if you are un-clear about what i want let me know and i will be glad to attemp to clearify. thank you! Hey Guys, I am getting a website built for my company to use for internal use, and I have a web builder that is saying some of the things i want done, are not in the world of code, and they cannot do it, so of course, thinking you can want to prove him wrong. My question is... the website i will have, will have a frame, 25% of the screen with miniature windows in the frames, of different websites (help page, info page etc) when you click the miniature window IN the frame, can you make is to that whatever happens in the 75% of the main body of the screen, mimics IN the minature window, in the frame? So if have a blue screen with a plane on the main body of the website, (75% portion of the screen), can that same blue screen with the plane be showing LIVE in the miniature window, so now, what happens in the larger main body, say it be a red background, and a green car, the miniature window will copy its movement of images/background, and display as it does in the main window... i want a mirror image of a mini window following a larger window.. is there a code for this? can this be coded? HOPE THIS MAKES SENSE! Thanks! hope to hear from you!! How do I sync my login database to a comment box and their recent activity? Example: On failblog they have a those comments after a video and they synced it to their login database. I need to know how to make a php script or something that keeps tracks of a user's recent activity, and alows them to post etc. If you don't mind posting a link to a tutorial or anything, or tell me what to look for it would be great. Thanks! I've been looking for hours if not days.... I installed the simple points system to my phpbb3 forum Im trying too add to that mod and put a box in the viewtopic page so i can edit members points easily. I tried getting the code from the acp and putting that in the viewtopic file but no luck. The box comes up but when i type a amount and click submit it just seems to refresh the page and doesnt change the points amount. Heres a code i made up from the ACP: HTML Code: <form id="user_profile" method="post" action="{U_ACTION}"> <input id="points" type="text" name="points" value="{POINTS}" /> <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /></form> Heres the mod link: http://www.phpbb.com/community/viewt...?f=70&t=543803 I hope you can understand and help . I just want a amount box and submit button below the avatar in the viewtopic file so when i type a amount in the box and click submit the amount of points will change. I have tried the mod creator and the phpbb community for help but ive got nothing that helps. Thanks in advanced. |