Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. manarth

    Styles not applying in other browsers?

    Looking at your code, it seems that the link statement is within the body, not the head: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HEAD> <link rel="stylesheet" type="text/css" href="/MySytle.css"> </HEAD><BODY> <!--#include file="/PagePart2.shtm" --> <link...
  2. manarth

    Newbie Needs Javascript Help

    Sorry, my mistake: remove the space from the sName parameter - change "Mark Cotton" to "MarkCotton". --- Marcus better questions get better answers - faq581-3339 accessible web design - zioncore.com
  3. manarth

    Newbie Needs Javascript Help

    window.open(sUrl, sName, sFeatures) Although it seems that each item is optional, IE requires that you specify sName before you can specify sFeatures. <img onclick='window.open("http://www.markcotton.com/mosaic/pacifico.html", "Mark Cotton", "width=350,height=500,toolbar=no")'...
  4. manarth

    Newbie Needs Javascript Help

    Your onclick is all wrong. You've got an extra onClick, you don't need the javascript: (as it's an onclick event), you're calling window.open( but not closing the bracket, and you call the method with a trailing comma but no extra parameters. You should take a look at MSDN reference for...
  5. manarth

    Styles not applying in other browsers?

    That's the way the web works. If you want your users to see your page, they have to be able to see the file - after all, their web browser needs the file to be able to use it. <link> statements belong in the <head>, not the <body>. This may be where you're going wrong. And remember, you're...
  6. manarth

    need simple JS popup window

    window.open simply opens a new window - you have to specify the window's URL as a parameter. Using this.href is a convenient way of avoiding typing the same URL multiple times. <a href="http://www.spyderscripts.com/cgi-bin/test/scramble.pl?checkword=settler" onclick="var winHandle =...
  7. manarth

    required attribute &quot;id&quot; not specified for Map

    you could try adding an ID. BTW, when you post HTML code fragments, you should specify the DTD you're validating to. <map name="m_DocumentationRequired_selected" id="m_DocumentationRequired_selected"> <area shape="rect" coords="558,66,638,97" href="ContactUs.asp" title="Visa Information"...
  8. manarth

    Framesets and frames - your opinions - the pros and cons

    CliveC - Giving all due credit to foamcow, there is one aspect of his site I would change: I would move the navigation menu to after the content in the source order. This would mitigate the problem you describe. If you look at Zioncore on a handheld device (or in Lynx), the content comes...
  9. manarth

    Lightbox image popups

    Anyone use thumbnail images, which when you click on them popup a fullsize image? I came across Lightbox (well, actually a web-designer friend found it and told me) and I'm thoroughly impressed. Well worth using, in my opinion. --- Marcus better questions get better answers - faq581-3339...
  10. manarth

    How to change Text Color?

    >>lol .. pipped me to the post manarth! as an added bonus, I gave the correct answer! This sounds like you mean: </head> <style> /* styles here */ </style> <body> This is not valid code...<style> tags belong in the head: i.e. between <head> and </head>. --- Marcus better questions get...
  11. manarth

    How to change Text Color?

    Learn css. Messing about with font tags and 'color="#FFFFFF"' is a tad outdated. The traditional way of specifying link colours was to include it in the body tag: <body alink="#FFFFFF" vlink="#FFCCAA"> alink for links, vlink for visited links. Now we simply use css: a { color: #fff; }...
  12. manarth

    not sure where to start, but i want to make/create an rss feed/page...

    Firstly, there are multiple (and quite different) versions of RSS. (This article discusses some of the differences.) The common theme is that an RSS feed is essentially an XML file. It's not pushed to different sites; it's just like an HTML file - a user/program/website has to download your...
  13. manarth

    Framesets and frames - your opinions - the pros and cons

    Ah, my irritations with the MSDN site are trying to bookmark pages, and navigating the site when I arrive on a google-listed orphan page. Pros: - allows content to be refreshed without having to refresh the entire screen: > saves bandwidth > keeps the site's "context" onscreen (looks...
  14. manarth

    IF and statement

    Oh, we also refer to a pair of parentheses as 'brackets'. It's easier to pronounce in Maths class! In British English, [ ] are square brackets, ( ) are brackets, and < > are angled brackets. Although we also accept that [ ] ( ) and < > are all brackets. We know what we're talking about...
  15. manarth

    IF and statement

    Woah there cowboy! The outer set absolutely are necessary: if (true) && (true) { returns a syntax error. if ((true) && (true)) { is permitted, as is if (true && true) { or if (a==true && b==true) { The outer parenthesis are always essential; the inner ones help readability, and clarify...
  16. manarth

    javascript enumeration

    I've not come across it before in JS either, although Quackit says it's an ECMAScript reserved word. As JavaScript and JScript are extensions to ECMAScript, it follows that ECMAScript reserved words are also reserved in J/JavaScript...But I'm not convinced that's the case here. Wikipedia has a...
  17. manarth

    IF and statement

    Here's my code, tested and working in IE6 and FF1.5: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/JavaScript"> function verify() { var themessage = "You are required to complete the following fields: "...
  18. manarth

    IF and statement

    Still missing a bracket: if ((document.form.auto_count.value == "") && (document.form.own_auto.value == "Y")) { By the way, I find += is a useful notation - instead of: themessage = themessage + " - E-mail"; you can use themessage += " - E-mail"; --- Marcus better questions get better...
  19. manarth

    IF and statement

    Missing brackets: function DoCustomValidation() { var frm = document.forms["myform"]; if((frm.own_auto.value == "Y") && (frm.auto_count.value == "")) { alert('Please fill out Auto Count!'); return false; } else { return true; } } by the way, posting code in tags...
  20. manarth

    Simpel php javascript popup problem i think :)

    Escaping strings in PHP - use a backslash: echo ('I said I\'ll be there'); echo '<td style="background-color: ' . $bg_color . ';" align="center"><a href="javascript: popup(\'dvd_detail.php?recordID=' . $row['Id'] . '\')">' . $row['Titel'] . ' </a></td></tr>'; --- Marcus better questions...

Part and Inventory Search

Back
Top