575 Posted Topics
Re: that's not the reason there's no 100% height. 100% height has existed. it means all of the height in which information is displayed, or in terms of width, 100% of the width in which information is displayed. some browsers have picked that up as being 100% of the visible window, … | |
Re: For my personal site, I use Unleashed:Revised. I have a reseller account, so I suppose I'm a hosting provider =P. I gotta say, Unleashed:Revised are good. Very well priced, very good customer service, very good features, and no sense of "host control"... Which leads me to.. FastHosts. Which is where … | |
Re: I think the poster wants 'rotating' (as in dynamically chosen) information rather than 'rotating' (as in rotary motion) etcs. If you use Javascript to do this, you have to 'dupe' search engines (and non-JS browsers) by presenting at least one valid block of information by default. You can then use … | |
Re: target = "_blank" should work. change: [code] document.write("<a href=\"" + link[random_num] + "\">"); [/code] to [code] document.write("<a href=\"" + link[random_num] + "\" target=\"_blank\">"); [/code] | |
Re: The best way to get around 'running out' of body onload space is to handle it using a custom function; an even better way is picking some sort of add event handler policy (using custom functions) and adhering to it.. A sneaky cheat way is to add extra empty body … | |
Re: For the 'special characters' you might want to try escaping them into HTML entities; or using a different page encoding. If you don't have too many 'special characters' you can escape them as according to the following table: [url]http://www.htmlhelp.com/reference/html40/entities/[/url] (There's 3 page of tables [lots of special characters]) If you … | |
Re: Try [inlinecode]<td valign="middle" ...etc>[/inlinecode] instead of [inlinecode]<tr valign="middle" ... etc>[/inlinecode]... alternatively; try the [inlinecode]vertical-align:[/inlinecode] CSS property (on the TD again). | |
Re: that bit of XSLT will still match to the root node; regardless of its namespace. I'd put: [code="XML"] <xsl:template match="/"> <xsl:apply-templates select="*"/> </xsl:template> [/code] or do some processing within that block..; without a select or name on the <apply-templates/> node, I think that's an illegal instruction. If you have undeclared … | |
Re: My Firefox identifies itself as: [quote="Firefox 2"] Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 [/quote] So if you remove the 'Mozilla' or the 'Firefox' from your first if condition; it works ok. To be sure; go with: [code] if ((navigator.userAgent).indexOf("Mozilla")!=-1 && (navigator.userAgent).indexOf("Firefox")!=-1) [/code] That will check for the … | |
Re: It can be done with PHP. It'll be (quite) alot of PHP. Searching for keywords would be done best at the point where your forum program receives and saves posts; you can check any new post against keywords for subscribers and issue mail to people who are interested there and … | |
Re: The [I]easiest [/I]way is to identify the inputs rather than name them: [code] <html> <body> <script language="javascript"> function Function1() { document.getElementById('TextBox').value = "You clicked the first button.";} function Function2() { document.getElementById('TextBox').value = "You clicked the second button.";} </script> <input type="text" [b]id="TextBox"[/b] name="TextBox" value="This is the text box."><br> <input type="button" name="Button1" … | |
Re: I'd use CSS: [code] <td style="text-align:right;">£993535.00</td> [/code] [b]Edit:[/b] Lol. I didn't read this far: [quote] Edit: Please ignore this message. This idiot (me) just discovered he's been trying to align the table from within the <FONT> tag instead of the <TD>tag. Sorry to waste anyone's time. [/quote] I'd still use … | |
Re: The important thing is how (and even more importantly when) you decrypt your page. If your page content is decrypted using javascript or other client-side means; then, because most search engines don't process client side scripts; your page wil not be indexed with relevant content. If you decrypt during a … | |
Re: You can run an executable on the server machine; but not on the client's machine. VB probably isn't so common as a serverside application language; but hey, it could work. | |
Re: [quote]Can someone tell me how to load the welcome page not in a frame (of the login page) but in the entire window[/quote] Yep. Don't use frames. | |
Is there a standard way to make constants defined using the [inlinecode]use constant[/inlinecode] pragma available to all of the packages that are use'd from an executed file? Or even better, to make the constants defined in a package available to other packages that use that package? It seems like anything … | |
Relevant header definitions are as: [code] class XMLChain { private: Segment root; std::vector<XMLOpen*> chain; Segment * immediate; std::vector<XMLOpen> openers; [/code] The function in question is: [code] void XMLChain::open(std::string tag) { Segment * last_immediate = immediate; openers.push_back( XMLOpen ( tag ) ); XMLOpen * cast_immediate = &(openers.back()); (*last_immediate).setNext( cast_immediate ); immediate … | |
Re: you will have to add to the body onload event to call that function. put the code within a script tag in the head section and change the opening body tag to say: [code] <body onload="hideAllJS();"> [/code] if you've allready got some functions called in body onload; do this: [code] … | |
Re: That's not really an error so to speak; it's a message that says is "I looked at the URL [url]http://www.cityofchicago.org/csrinterface/request[/url] to find a schema document to validate/process nodes under the namespace declared to conform to this schema; and I couldn't find one.) If you change process specific namespaces to look … | |
Re: document.write() is a really horrible method. it's either invoked as a page is parsed (no scope for user interaction), or it dumps text into an arbitrary place in the document, in XHTML it's [I]forbidden[/I] for another reason. A better way to place arbitrary HTML at a defined place in a … | |
Re: Black magic perhaps? You can't convert a binary executable file into an XML file. Of all the things XML may be, a programming/compilable language it is not. Perhaps you could get a script interprettor that worked with XML, but a translator from an EXE would be another matter entirely. You … | |
Alot of (mainly linux/perl/etc) documentation, websites and comments use this quoting style: [code] Type `hello' to invoke `system shutdown'. [/code] Is there any particular reason to start the quoted block with a backtick (`) and end with a single quote (') ? This isn't really a support question, I'm just … | |
Re: The entirely grey background works how you want in opera (although the images appear too high on the page to be seen properly). The background is short in Firefox 2, but the image appears in the center of the page and is visible. I've noticed this happen often (always) in … | |
Re: I'm assume that you don't want border's around the inputs rather than around the form :- a form is a container for inputs, buttons etc; inputs are the individual 'fields' of a form. Ok, to remove the border from an input; try this: [code] <input type="text" style="border-style:none;"/> and for textareas: … | |
Re: Is the chain a part of the bottom of the image with src=../toppartpsd copy.png? If so, I think perhaps the problem is where you've used a 'P' tag around the image... Try replacing: [code] <p align="center"><img src="../toppartpsd copy.png" width="800" height="214" /></p> [/code] with [code] <div style="text-align:center;"> <img src="../toppartpsd copy.png" width="800" … | |
Re: Put something like this in the head of every page: (note: you only really need the bold part in the code of the page with the form/that changes the cookie) [code] <% var style = new String(Request.Cookies('style')); if(style==null || style=='undefined'){ [B]style = new String(Request.Forms('style')); if(style==null || [/B][B]style=='undefined'){[/B] style="default"; [B]}else{ Response.Cookies('style') … | |
Re: I had a similar intention, and hit exactly the same problem (worked offline but not online); here's what I did: [url]http://www.daniweb.com/techtalkforums/thread63673.html[/url] That relies on you being able to instantiate an object from the 'use' and return it from the eval... If the module that you use is non OO, perhaps … | |
Re: This is a java question, not a javascript question. There's a whole lot of difference between Java, and Javascript. You'll probably have more luck in the [url="http://www.daniweb.com/techtalkforums/forum9.html"]Java forum[/url] | |
Re: To Q1; that's probably the most common way. There is another way; using IMPORT directives; but the way you've put will work fine. To Q2, you don't need: [code] document.login.submit() [/code] you just need to return true at the end of that handler function. | |
Re: Why not use myspace's inbuilt song sharing? You can set up a band profile, add the song you want, and then add that song onto your profile as the background music, all using myspace's functionality. Otherwise, try embeding the same music on a standard HTML page using your embed code … | |
Re: Is that really the best way to create the entire content of the page? Perhaps it's not working because the elements you reference don't exist yet; or shouldn't exist atall. (document.write() breaks a rule in XHTML; Firefox is alot stricter about rules) Perhaps; it'd work if you took all of … | |
Re: MOV files should work on a PC. What happens if you take the MOV file and try to play it on a PC without embedding it on a page? That is, just copy it onto a PC and open it in Quicktime. | |
Re: You shouldn't use JavaScript for restrictive/non-helpful form validation. It's amusingly easy to bypass. | |
Re: Mm. IE is used by (maybe not most, but) a huuuuge subset of Internet users. I know for a fact that many of these users are either casual, very busy, or just unbothered by standards because the Internet works for them. These people make up a sizeable chunk of the … | |
Re: the only way you could do that would be if your first window is opened by javascript (or maybe by named target). otherwise, it would be an irritation risk if sites could close the browser. if you want the parent window to close when a new page opens, why not … | |
Re: Using the target _blank attribute on a hyperlinked anchor tag is generally more likely to get past popup blockers... That's not so good because you can't control the spawned window's size directly or open the new window automatically. Some popup blockers would object to this kind of popup aswell O_O | |
Re: One way to get around this would be checking the requesting browser's identification and serving text-only pages for extremely old browsers. It's a double workload if you have to make every page twice. A better way around would be designing the page so it can be interpretted logically without CSS … | |
Re: Namespaces are a way to separate or class the elements in a document that is composed of elements from multiple schema (different types of XML file) You don't have to create schema documents; in essence a schema document (like the one at [url]http://www.w3.org/2001/12/soap-envelope[/url]) just defines which elements can have which … | |
Re: Providing the cookie scipt you're using works correctly: Change: [code] var Splash = GetCookie('SplashSkip'); ReDirect('/welcome'); [/code] To: [code] var Splash = GetCookie('SplashSkip'); if(Splash == null){ ReDirect('/welcome'); } [/code] Remember to clear your cookies to test (I find Opera is best for testing cookies) | |
Forum software solutions have a way of indicating whether threads (and in the case of Daniweb forums to) have had their content viewed by a user. How exactly is this done? Is reference to every page a user has explored stored somewhere, for every user (or for every page)? That … | |
Re: You also can't stop someone probing your code to find the image link; and if they're inclined to hotlink your images; they'll probably be even more inclined to do so if they encounter lax security. Good idea though... I'd advise looking into some server side techniques. Quite alot of the … | |
Re: No. Why don't [B]you[/B] plan out how to do your homework problem, work out the answer, and reply [B]me [/B]with the solution; Now. | |
Re: you could do it if you changed the output from a textbox to a DIV and used the inner HTML property: [code] <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><form name="ddmessage"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><select name="selectbox" size="1" onChange="changecontent(this)"> <option selected value="What is JavaScript?">What is JavaScript?</option> <option value="Why learn … | |
Re: Make sure that you call the script when the document has finished loading (that will mean that you will not be able to use document.write()) , otherwise make sure you [B]don't [/B]use the XHTML doctype. The XHTML doctype forbids document.write() because it messes with the output document tree during rendering.([url]http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite[/url]) … | |
Re: Hm. You should be able to do something like this in your 'Activity' template in the XSL file. [code] <xsl:variable name="get_from"><xsl:value-of select="@Id"/></xsl:variable> <xsl:copy-of select="/Package/Transitions/Transition[@From = $get_from]/ExtendedAttributes"/> [/code] (I haven't tested that, I have no useable XSLT processor on this PC at this moment) Your input XML file is a bit … | |
Re: Write a CGI script to perform the mailing operation from your server, and then redirect the page at the end of the script. mailto: isn't totally reliable anyway. I don't use a default mail client on any computer except at work; and your code relies on me (as a user) … | |
Re: The domain 'fvrt.com' might be useful to the 'Flooberry Vertigo Radish Troopers Inc.' but to anyone else it's pretty much worthless. If there's no brand or company identity associated with an acronym, it's very unlikely that even a company whos name or brand could fit a non-pronouncable acronym would have … | |
![]() | Re: You shouldn't send an XML file with a linked transform directive directly to the user's browser. Not all browsers support client-side XSL transformations. You should look for a server-side XSL processor, perform the transformation at the server end, and send (X)HTML. There should be an ASP-ready XSL processor on Windows … ![]() |
Re: URLs in CSS files are relative to the location of the CSS file. URLs in embedded CSS are relative to the page the CSS is embedded in. If you want to make sure that you always read the image from the same location, use an absolute link. Either root directory … | |
Re: Even using a server side sripting language, you wont be able to grab everything in a folder on a user's computer from an HTML/browser page. Those 'input = file' forms don't give the server any filesystem access; when you press 'submit' the browser finds the file, encodes it according to … |
The End.