Assenheimer
02-18-2004, 10:00 PM
Well, has it?
Assenheimer
Assenheimer
|
||||
Has the div SRC attribute been legalized yet?Assenheimer 02-18-2004, 10:00 PM Well, has it? Assenheimer Paul Jr 02-18-2004, 10:09 PM I've never even heard of it... ever... :confused: liorean 02-18-2004, 10:15 PM Why don't you go have a look? <http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#edef-DIV> (No, it definitely hasn't, and never will. There are tags made specifically for that purpose.) Assenheimer 02-18-2004, 10:25 PM Okay, thanks. I wasn't sure if that stuff was outdated. Paul Jr 02-18-2004, 11:06 PM Originally posted by liorean Why don't you go have a look? <http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#edef-DIV> (No, it definitely hasn't, and never will. There are tags made specifically for that purpose.) Well now I know it exists, lol, but sadly I wasn't able to find anything about it in the link you gave. :( liorean 02-19-2004, 12:43 AM You can't find it because it's never been even in discussion about including it in the HTML standard. And now it's too late. brothercake 02-19-2004, 01:16 AM It may not be legalised, but I think it's been decriminalised in some European countries. Even in the UK, they generally let you off now. Paul Jr 02-19-2004, 02:42 AM :o ronaldb66 02-19-2004, 09:17 AM Here in Amsterdam, you can freely use the src attribute in every Internet café, even the police are looking the other way... :D me' 02-19-2004, 12:49 PM There was a big argument recently lately when it was decided that in the UK it should be dropped from a class B to a class C (but it's still illegal!) mindlessLemming 02-19-2004, 01:09 PM What the hell where we talking about again? My short term memory fades quickly sometimes....;) me' 02-19-2004, 01:11 PM <div src="whatever">, Cannabis and Amsterdam. missing-score 02-19-2004, 02:01 PM ahh, theres no place like CF. ronaldb66 02-19-2004, 03:02 PM Originally posted by liorean There are tags made specifically for that purpose. ... object? Roy Sinclair 02-19-2004, 03:16 PM Yep, object. It seems that tag is intended to replace all sorts of other tags, IMG, IFRAME, APPLET... liorean 02-19-2004, 03:27 PM Yes. The object element is intended to replace all other external content elements. However, there are other ways of embedding external content in a document. CSS3 generated content, XFrames, XLink and using namespaces to include elements from other XML languages. coder_seth 02-19-2004, 03:30 PM here in the US, opposition to the SRC attribute by crazy fundamentalists is still strong as ever. their "War on SRC" is sapping our coffers and brain cells. this is an aside, but honestly, how the hell did a country founded by puritanical rejects become the world's biggest superpower.. yeesh.. Assenheimer 02-19-2004, 09:14 PM Okay, was somebody suggesting about 40 replies back up this string that Object was a cleaner alternative to Iframes? coder_seth 02-19-2004, 09:16 PM also, i'm curious about the implications that <object> would eventually replace <img> as well.. Assenheimer 02-19-2004, 09:24 PM Object has no SRC element either, according to W3Schools. Do you use DATA? jkd 02-19-2004, 09:38 PM Yes, use the data attribute: <object data="myimage.png" type="image/png"> This is the alt text </object> Or <object data="frame.html" type="text/html"> Your browser doesn't properly support HTML. Loser. </object> Assenheimer 02-19-2004, 09:54 PM Okay, the first one only retrieves blankness but the second one works. Is there some bad syntax here? <div id="page1" class="page"><object data="C:\Documents and Settings\jcapra\Desktop\CDCI Web\about1.html" type="text/html"></object></div> <div id="page2" class="page"><iframe width="627" height="419" src="C:\Documents and Settings\jcapra\Desktop\CDCI Web\about1.htm" scrolling="no"></iframe></div> JAVAEOC 02-19-2004, 10:10 PM <object data="frame.html" type="text/html"> is this possible: <object data="text.txt" type="text/text">a and wh is it better then the img tag? coder_seth 02-20-2004, 12:20 AM i dunno about your syntax, but a random thing that confuses me: i have been told that iframes are IE only, but they are not, so what's the real deal? meinhame 07-09-2007, 04:16 AM I guess I'm rejuvenating a really old thread, but there's much wisdom on these forums so I hope someone can help me. I need a DIV tag to pull external content. The reason is not important, I just have to do it for a business reason of bandwidth as I host my help forum externally but would like to be able to show content from there while maintaining only the header of my site. [Yes, it would be great if the site in question -- Google Groups -- allowed me to customize the header right there, but it doesn't]. So, my first design had frames. The header on top had links back to my site with "target=_top" stuff. The frame below showed the content from the external forums. But now I covet "1.0 Strict" validation, so frames are out. In this thread I found the very useful "object data=" tags, but turns out that text/html objects function very much like the old frames, and any link outside of the OBJECT tag on the same page still needs a target of "_top" or some equivalent otherwise it loads up in the area outside the object tag but on the SAME page! So, what's the alternative? I could open links through JS, but for people who have turned off JS, I don't want it to be an ugly experience of loading up links in a small header area. Would appreciate any thoughts!! TIA! _Aerospace_Eng_ 07-09-2007, 05:15 AM Maybe use ajax? http://www.dynamicdrive.com/dynamicindex17/ajaxincludes.htm Or don't use a strict doctype? I would use JS to implement the target attribute though some may disagree with me. People browsing around with JS disabled generally know that their may be some issues with page display. This thread has the debate about whether or not the target attribute should be setup using JS. http://www.codingforums.com/showthread.php?t=117463 meinhame 07-09-2007, 05:24 AM Thanks. Yes, I thought about huge JS stuff like the modal window stuff that looks appealing for 5 minutes but then the reality hits you -- why should users have to download several JS includes (and you pay bandwidth costs) just to validate the document to 1.0 Strict. I guess I'll stay with 1.0 Transitional then. Many thanks for clearing this up for me. meinhame 07-09-2007, 05:35 AM Btw, any idea why "object data=text/html" stuff doesnt work in IE? meinhame 07-09-2007, 05:35 AM Btw, any idea why "object data=text/html" stuff doesnt work in IE? VIPStephan 07-09-2007, 09:32 AM Because it must read <object data="filename.htm" type="text/html">. However, support in IE is limited anyway. There are those scrollbars that you can’t get rid of. If you don’t care about that then it’s fine. bradymills 12-04-2007, 11:12 PM Because it must read <object data="filename.htm" type="text/html">. However, support in IE is limited anyway. There are those scrollbars that you can’t get rid of. If you don’t care about that then it’s fine. Could you not use CSS linked to the external HTML file to change the scrollbars -- like you would with an iframe or div, or is that something that the <object> tag blocks for some reason? VIPStephan 12-05-2007, 11:03 AM There’s no problem with scrollbars in any browser but IE. You can add/change/remove the scrollbars as you can with an iframe. Only IE won’t behave or it would only under certain conditions. There are several discussions about this on the web. here are two interesting links: http://diveintomark.org/archives/2003/04/13/object_and_internet_explorer http://www.robinlionheart.com/stds/html4/objects.html Apostropartheid 12-05-2007, 04:27 PM The src attribute is planned to be added to any element in the XHTML 2.0 specification (along with href), from what I last heard. Take a look (http://www.ibm.com/developerworks/xml/library/x-futhtml2.html). |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum