- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 65
- Posts with Upvotes
- 60
- Upvoting Members
- 41
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- Reading, writing and coding. Sleeping occasionally.
575 Posted Topics
Re: That's a very open question. It's almost like asking "does anyone know how to create a website?". Do you want to make a website that sends ringtones over a GSM server (SMS messages) directly to units? Or a website where people can download music using their WAP browsers? Do you … | |
Re: you should change: [code] <a href=\"". $page_link ."?page=1/\" title=\"First Page\">[B]<<[/B]</a> [/code] to [code] <a href=\"". $page_link ."?page=1/\" title=\"First Page\">[B]<<[/B]</a> [/code] and so on with all other non-tag <'s and probably do the same with > for any >'s It'll output bad XHTML otherwise =P | |
Re: You need access to an SMS gateway. You can hire this access from a number of companies, usually they'll charge a subscription or usage fee. I can't recommend any, but that's what you need; heres some examples, from the first page of google results for SMS gateway: [url]http://www.clickatell.com/[/url] [url]http://www.ozeki.hu/[/url]** , … | |
Re: you can turn them off on the table tag itself: [code] <table border="0"><tr><td>etc</td></tr></table> [B](this will turn off the border throughout that table)[/B] [/code] or with CSS: [code] table { border-style:none; } [B](this will disable borders for all tables on a page that includes that rule)[/B] [/code] I prefer to do … | |
Re: Java is easier to debug than C++, unless you already know C++ inside out, C++ is a tiny bit faster at matrix calculations, otherwise java and C++ are comparable, they both use DirectX and OpenGL interfaces, and the VirtualMachine layer is passed-through very quickly. I'd rather have portable code that … | |
Re: Eek.. again you need a way of determining [I]IN JAVASCRIPT[/I] what the contents of a response represent. Semantically, there is no difference between an echoed PHP array and a line of plain text. All you are doing at the moment is reading the response text ( a string ) and … | |
Re: are you using an HTML or XHTML doctype? in HTML doctypes it's ok to set boolean attributes without values, in XHTML doctypes it is not. in XHTML you have got to use: selected="selected", or selected="yes", or selected="true" | |
Re: [url="http://www.daniweb.com/techtalkforums/forum17.html"]The PHP forum[/url] | |
Re: [QUOTE=obscured47;356461]You can create a new window using the window.open() funtion. This will help [URL]http://www.w3schools.com/htmldom/met_win_open.asp[/URL][/QUOTE] Using spawned windows as popup menus is a naff approach. Alot of 'modern' browsers block out popups, or put them behind the active window. Also, you'd have to be careful to avoid multiple window.opens every time … | |
Re: [code]grep -r --include=*.php "some_string" some_directory[/code] works in GNU grep 2.5.1 post output of `grep --version` and `grep --help` if that doesn't work... there might be another way. | |
Re: If you have access to PHP: [code=PHP] <?php header("Content-Type: text/javascript"); include "script1.js"; include "script2.js"; ?> [/code] Save as 'allscripts.php' and link as if it were a js file: [code=HTML] <script type="text/javascript" src="allscripts.php"><!--screwIE6--></script> [/code] This might not be ideal in all situations... | |
Re: It's not a kludge to have an outer style affect the list ( including the bullets/numbers ) and have an inner style affect the content of items themselves. Use 'relative' styles if possible , e.g use [inlinecode]font-size: 80%;[/inlinecode] on the outside, [inlinecode]font-size: 125%;[/inlinecode] on the inside. If you have no … | |
Re: You setup an orthographic projection matrix, and then in the pushmatrix/popmatrix block, you load a matrix in model space, this 'undoes' your projection until the matrix is popped... You could either replace this: [code] glPushMatrix(); glLoadMatrixd(redTransformationMatrix); glColor3d(1.0, 0.0, 0.0); DrawSquare(200.0, 600.0, 100.0); glPopMatrix(); [/code] with this: [code] glPushMatrix(); [b]glMultMatrixd[/b](redTransformationMatrix); glColor3d(1.0, … | |
Re: The standard doesn't well indicate whether onunload should be called when a browser window is closed, or if the browser is closed, or when the page is changed. It says: [B]W3C Event Model Specification for 'onunload' : [/B]"The onunload event occurs when the user agent removes a document from a … | |
Re: think the other way around. instead of deleting the history, don't create it in the first place. there's various methods, all require server side scripting or public web proxies. basic method is, have a blank page that inserts the "secret" page when it's neccessary. the history will only see the … | |
![]() | Re: [url="http://www.w3schools.com/xsl/"]XSLT[/url] [url="http://thewml.org/"]WML[/url] [url="http://fusiongroups.net/home/fuse"]FUSE[/url] is in quite early stages at the moment... it's my own content management meta-language... It's getting quite advanced now, I'm only just starting to document it. It runs offline and online, so it would do what you're looking for, and more. Personally, for non-dynamic pages, I always … |
Re: You're trying to directly mix a process across two different environments. It won't work like that. That page executes twice as two different 'programs' so to speak. Firstly; it's a JSP? program; which is able to connect to your database (on a server) and to 'transform' the page somewhat. After … | |
Re: onClick will work on most elements, onfocus is more appropriate for a text input, as tabbing to a field also counts as focus... try: [code] <input type="text" value="Click here to clear text" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;"/> [/code] it will only clear the text once.. i assume you want to actually put something in … | |
Re: Here's one way to do it: [code="Javascript"] <html> <head></head> <body > <!-- onblur="self.close()"--> <div style="text-align: center;"> <p>If you like this site, you will love these<br /> wonderful books. Click <a href="http://www.amazon.com">here</a> to buy.</p> <script type="text/javascript"> var i = 0; var imageArray = new Array(); //Create each element of the array … | |
Re: [quote] It isn't accessible for users who use such things as screenreaders [/quote] Screenreaders work better, ( i.e. more intuitively and standardized ), with tables than they do with some div layouts that force table-like display using floating/positioning, or with div layouts that want to order markup weirdly for the … | |
Re: I honestly can't say why; but I find that overflow:scroll/auto only works reliably on fixed size div elements. It works ok on 'bounded' size divs (with max and min height) in Firefox 2 and Opera 9, but not in Internet Explorer 6. Change your HTML so that the cell with … | |
Re: with char arrays, it could be: [code] ispalindrome := true; for i := 0 to arr.length /2 do ispalindrome := ispalindrome and (arr[i] == arr[arr.length - i]); [/code] just take the same principle with memory addresses, but bear in mind that only works if the word has an even number … | |
Re: you're not calling the function, you're writing the function name. calling the function is only possible from a <script> block or from an event handler attribute... to call the function when the page has loaded; you could do this: [code="html"] <body onload="document.forms.uname.value = GetParam(username);"> ...same as before... </body> [/code] alternatively, … | |
Re: If you read it, don't assume you'll know C++ in 24 hours; I have learn C++ in 21 days sitting at home somewhere, and I don't really "know" C++. Still, I never finished the book. But, from that I learnt enough to get a 2D playable demo (was zelda: a … | |
Re: [quote]if you setup a goal to write your own CMS soon you will end up the same problems as other CMS's encountered. You may not foresee some problems that will require minor or major code rewrite and it may took some time - 1-2 month(s).[/quote] 1 - 2 months is … | |
Re: That's madly tiny and cryptic :cheesy: I've been working in Java today for a college project; I used Java for yeaars before I used Perl.. To do something similar to that in Java would be a mammoth task. There seems to be 'no such thing' as a useful Java hash, … | |
Re: you can use bookmarked anchor tags to position the user's view somewhere. combined with some absolute positioning over the part of your image you want in focus, and a bit of offset calculation (you'll see what I mean if you take the <br/> parts out of the <a> tags), you'll … | |
Re: In a word; No. HTML is delivered to users as 'source code', which the user's browser then interprets. There is [B]nothing[/B] you can do to protect HTML code; except trying to enforce your copyright if it's stolen. Also, you can't easily 'scramble' or obfuscate HTML code as you would with … | |
Re: For Intranet applications; it's much easier to control the browser being used to access the page... Open VB6, drop WebBrowser control on form, don't add any buttons that call the control's 'back' event; save; compile; backbutton-neutered IE6. Distribute to everyone onsite. In any context, including Intranet applications, why should 'back' … | |
Re: something like: [code="javascript"] <script type="text/javascript"> <!-- onload=function() { var divh = document.getElementById('pageContent').offsetHeight; var target = document.getElementById('flashOverlay'); target.style.height = ( divh + 460 ) + "px"; } //--> </script> [/code] | |
Re: do you want the box to appear intelligent and assume one of the values from the options is what the user is typing? [URL]http://www.devarticles.com/c/a/JavaScript/Javascript-AutoComplete/[/URL] don't know if it works, if it doesn't, search for "javascript autocomplete select" on a searchengine, without the quotes. | |
Re: :| javascript won't do it i'm afraid, i've never tried an opacity setting in CSS, but if it's not in the official "standard" for CSS (and possibly even if it is) IE probably doesn't implement it. you could try with medium alpha PNG files? that way, your image files contain … | |
Re: Default security settings for offline content are quite strict; because offline content is supposed to have access to its immediate environment (the user's filesystem) For that reason, you may not be able to disable security dialogues. They wouldn't be very secure if you could. If your hyperlinks are just hrefs … | |
Re: You know it'll only work for images that have an alt attribute of 'user posted image' right? Also, you're not saving a lot by using this code; better, serverside, means of doing this actually decrease the size of the thumbnail image, because that saves on download bandwidth.. this code will … | |
Re: It depends. It can be done in Javascript or using a serverside language. Which would you rather do? For reference, that part of the URL is called the 'query string'. Server side langauges often have simplified interfaces to access the 'variables' in a query string. Javascript has no such interface; … ![]() | |
Re: I'm not suprised that you're finding it hard to get hold of Maya 4.0, it's pretty ancient. What kind of plugin is the one you need? Is it one of those Maya pseudo-dlls or a MEL script? If it's a MEL script then you can look right at the plugin … | |
Re: assuming that look at and 'up' are at roughly at right angles; take the cross product of the look-at and up direction. this will give you a vector that points from the characters left to right ( or right to left ). if the look at and up aren't at … | |
Re: Are you sure you don't mean 'file' fields? [inlinecode]input type="image"[/inlinecode] fields are just graphical submit buttons; [inlinecode]input type="file"[/inlinecode] fields let a user pick a file on their filesystem to upload.. As for checking the file; you should be able to interogate the value of said file field, split it by … | |
This is possibly not the ideal place to post this; but I'm hoping someone with a good idea of 3D math can help me a bit. I'm planning something for a project, and am trying to find out how to implement some of the more neccessary parts. One of these … | |
Re: you shouldn't position anything but a <head> section outside a <body> section in your code. but, you can make the div with the image in it on a separate 'layer', by putting it into a div like this: [code] <div style="position:absolute;top:0;left:0;">(picture here)</div> [/code] | |
Re: Alternatively, try this trick, if you don't mind presetting the available colors ( in a way, it's better because those colours can be defined in the CSS ). This works by dynamically changing the class of the containing element, the CSS 'cascade' effect sorts out the rest: [code] <html> <head> … | |
Re: As it looks; you're doing one test for the mouse click ( testing MouseButton(0); ) - this means the function 'miss' will only be true if the user clicks the mouse at the exact moment that the code is running. I would set up an event to wait for the … | |
Re: Couple of questions from me... [code="vb"](Me.ClientSize.Width - Me.ClientSize.Width)[/code] and [code="vb"](Me.ClientSize.Height - Me.ClientSize.Height)[/code] both of these subexpressions will surely always evaluate to 0 right? They seem totally unecessary.. You have a missing closing bracket somewhere.. also, you're incrementing the loop variables x and y manually. don't do this. so, take out … | |
Two quick, related, questions; totally unrelated to anything I'm doing or considering doing. I'm talking about C/C++ programs specifically, since I'm talking about header files, but, I guess the questions are development-platform independant. It's a violation of the GPL to release closed-source software that dynamically links to a GPL licensed … | |
Re: See, as an Opera desktop user, I do tend to ignore the browser: but only because it consistently does what it does quietly, correctly, and capably. Which is a sign of a good application IMHO. May I direct your respective attentions to a brief & hilarious, albeit obviously biased (although … | |
Re: Any real terrorist or other malignant is already gonna be using strong encryption to communicate anyway. Given that those in power probably know that already; this is an attempt to monitor decent, normal people, not 'criminals'. I along with many others will probably start to use encrypted means of communication … | |
Re: @ Cybulski - we ( people who develop on Linux ) have a little thing called 'libraries'.. There are lots of them, on Linux and Windows, for lots of different things; they usually provide a high-level interface. They're not a Windows-only concept.. ^_- Developing in Linux is like developing in … | |
Re: Funny.. Facebook and user privacy in the same sentance.. XD | |
Re: Oh wow.. so they finally realised that a browser isn't an operating system. So, back where we started: desktop applications with some network functionality. How predictable. | |
Re: ...Microsoft 'webservices' tend to require a great lump of ActiveX and the IE browser... or Silverlight *shudder*. I don't even use Flash viewer, so it's not like I have a problem with Microsoft specifically. I'm in the Linux and Microsoft crowd ( I use both happily ), and I just … |
The End.