408 Posted Topics

Member Avatar for <M/>

Yes, it's simple if you are only targetting CSS3 compatable browsers, which IE9 is definitely not :-/ Soon, transitions will become common place, but not until windows 7 has gone byebye.. in an age where XP is still extremely common, it may be some time. If you have this as …

Member Avatar for <M/>
0
302
Member Avatar for B0716L

I can't see any reason to ever do this... what's the point of a checkbox if you can't interact with it? However, with js you could just <html> <--! doctype is whatever you want... --> <head> <title>Perpetual Checkbox</title> <script type="text/javascript"> function onload() { var ChkBx = document.getElementById("mycheckbox"); ChkBx.checked = true; …

Member Avatar for B0716L
0
279
Member Avatar for silvercats

You have a few options... In your content area you can have your pages pre-populated in container divs with an ID and set to display:none. Then, with selections you "unhide" them, and hide the other(s). You could even keep a global to know which one you are on... Alternatively, you …

Member Avatar for ryantroop
0
213
Member Avatar for showman13

Im not sure how the generic buttons work, but you could put a "disabled" class (or attribute if it's an actual submit button) on the button, and wait for your callback to determine what happened... Im not sure that's even a possibility for you... You could do something like... var …

Member Avatar for ryantroop
0
715
Member Avatar for bojan123
Member Avatar for ryantroop
0
247
Member Avatar for lyleholc

it would be dependent on a few things.. what is the query you are using for the retrieve? Are you doing some funky joins or parsing? Also, how are you doing the call to the data? Are you processing before or after the query for anything? How are you iterating? …

Member Avatar for ryantroop
0
154
Member Avatar for silvercats

I think the way I would handle that is through some sort of extrapolation... the flv would have to keep track of it's own coordinates (which shouldnt be hard), which would then be added to the offsetTop and offsetLeft of the flv element or container (again, not too hard) which …

Member Avatar for ryantroop
0
169
Member Avatar for TexITTech

you have a series of ids that do not have quotes... for example: line 54: <tr><td>Name:</td><td><input id=cust onfocus="if(this.value=='Name'){this.value='';}" value="Name"></td></tr> id=cust --> id="cust" You have tons of these.. fix your quotes, you will probably fix your issue. Also, I recommend, for readability and so youre not inlining a ton of if …

Member Avatar for theHop
0
340
Member Avatar for yankeefan24

a table cell is like any other block element in regards to what you are talking about... I think.. Just like you would set the innerHTML of a div or span, you can set the innerHTML of a table cell (<td>); Alternatively (and some would argue more correctly) you could …

Member Avatar for diafol
0
175
Member Avatar for numan.nomi.7186_1

in php, you would use echo. <?php $myVar = "A String"; echo ($myVar); ?> there are others... it all sort of depends on what you are trying to do. If you want users to input data and put it on the screen, there are many ways to do that... it …

Member Avatar for ryantroop
0
214
Member Avatar for thearts.beach

:-/ assuming you have connected to the database correctly... $result = mysql_query("select * from table1 where id=$_POST[ID]"); while ($data = mysql_fetch_array($result)) { foreach($data as $k=>$v) echo ($k . " = " . $v); } or.. something to that effect... but since we are all moving to mysqli, this is already …

Member Avatar for thearts.beach
0
599
Member Avatar for lena1990

If my cursory google glance has served me well, least requires more than 1 input to function properly... Is your result returning multiple rows? If not, least may not be what you are looking for, but floor() maybe?

Member Avatar for lena1990
0
271
Member Avatar for harderm

you need to attached a handler to the window object and get the event's keyCode. If they keyCode is equal to the enter value (42 or something? I don't know off hand), then you create a new "listener" row. Since the window is listening, you can figure out the keyCode …

Member Avatar for iamthwee
0
183
Member Avatar for ryantroop

Im hoping someone could fill in a few blanks for me, so I can better understand how I need to tackle a personal project. Obviously, it's about our wonderful friend video streaming. As I understand it, it works as follows: Video is taken from it's raw state (whatever the input …

Member Avatar for LastMitch
0
182
Member Avatar for SHAHAB UDDIN

------------------- | padding | | | | | | | ------------------- margin Padding moves items inside the element away from the border of the element. Margin moves items away from other items.

Member Avatar for diafol
0
841
Member Avatar for sabarinadh.ch

not to be a jerk... but... http://www.w3schools.com/php/php_mysql_intro.asp you're asking for a web app to be made for you... people get paid for that. If you wish to do it on your own, there are resources to help you.

Member Avatar for diafol
0
1K
Member Avatar for Jeff_7

you have a couple options... none of them are particularly appealing... the easiest is to do some media queries and change objects on the page as necessary. The other way is to make a "fluid" design, and redo everything with % or javascript resizing.

Member Avatar for Jeff_7
0
229
Member Avatar for yankeefan24

if an input field is flagged disabled it will not post in a form submission. So.. <form method="post" action="whatever.cfm"> <input name="a" type="text" /> <input name="b" type="text" disabled="disabled" /> <input name="c" type="text" disabled="disabled" /> <input type="submit" value="submit"> </form> in javascript you can add or remove the attribute like so: <script> var …

Member Avatar for yankeefan24
0
198
Member Avatar for sonicx2218

have you tried inline styles on the html elements? ex: `<div style="height:100px; width:100px; box-shadow:2px 2px 5px #000000;">A div</div>` The other option is to try and pu the stylesheet directly on the html in style tags like a script tag... not sure how Wix works, but whatever you control you can …

Member Avatar for ryantroop
0
96
Member Avatar for JackticalNuke

The answer is "probably." The reality is that no one will want to publicly help you because doing so would do 2 things: 1) break the law. (why?! Because you are using copyrighted material for whatever you plan on using it for) 2) piss off google. (why?! By changing it …

Member Avatar for Troy III
0
312
Member Avatar for ImZick

I think that this is a fundamental misunderstanding of PHP and how it works. When you "view source" on a web page created with PHP, you won't see any PHP code, but instead you will see the HTML that is rendered from the PHP. The ONLY way to view PHP …

Member Avatar for ImZick
0
275
Member Avatar for hackoman96

Javascript is based on ECMAScript, which is then intepreted in a "sandbox" which is controlled by a browser to interpret the script. Javascript exists solely as a client side language, which means it requires a browser to function. This is, of course, ignoring server side javascript, which is (for the …

Member Avatar for Troy III
0
299
Member Avatar for DavidB

alert is an object, which happens to be of type function, of the window. Anything in the window can be called directly, and in a "global" scope. window.alert and alert are essentially the same thing.

Member Avatar for Troy III
0
5K
Member Avatar for dwlamb

or, just don't put anything for display and it's natural state will take over. At least, I believe that to be the case...

Member Avatar for dwlamb
0
254
Member Avatar for diei.nnaemeka

Have you seen this done somewhere? pdf files are simply text with an XML structure to define visual attributes (at least, as far as I know), and javascript has nothing to do with any of it.... What are you trying to accomplish?

Member Avatar for diei.nnaemeka
0
143
Member Avatar for hallianonline

Without seeing the html along with it, preferrably in a working state, this may be difficult to pin point... At a quick glance, you have a bunch of stuff absolutely positioned... could you be inadvertantly collapsing an element by removing it's content from the flow of the page?

Member Avatar for hallianonline
0
142
Member Avatar for justdeanna

First.. I don't see a checkbox anywhere.. so you may want to check your html.. Second, to me you are using php incorrectly... PHP is a back end system, which allows for "secure" actions. You can easily move most of what you are doing to the front end with pure …

Member Avatar for ryantroop
0
168
Member Avatar for KamiNuvini

may just be a stylistic thing... but Im not sure why you do `loadingPage = setTimeout(....); ` I do not believe setTimeout returns anything... however, that's also not your problem. While doing a setTimeout('string', number) will essentially do an implicit eval on the string, it's "bad mojo" and may be …

Member Avatar for ryantroop
0
2K
Member Avatar for idlackage

Im 99% sure this site is HTML front end with JavaScript for dynamic page enhancements (all the fun animation stuffs), CSS to make it pretty, with a PHP back end most likely drawing content fron a MySQL database. The HTML is what gives the page "structure" CSS tells the browser …

Member Avatar for ryantroop
0
420
Member Avatar for sonicx2218

IFrames do not resize happily with javascript, last I tried it... You may need to force attribute changes by doing iFrame.setAttribute("height", number); //you may need number+"px" I forget

Member Avatar for sonicx2218
0
366
Member Avatar for jonsan32

depending on your back end... this seems like it's more of a database/sort issue... but if really all you need to do is append +whatever to the url... function submit() { var mySelectBox = document.getElementById("mySelectBox"); var myWord = mySelectBox.options[mySelectBox.selectedIndex].text; var URL = document.URL; if (URL.lastIndexOf("/") != URL.length) /* this assumes …

Member Avatar for LastMitch
0
363
Member Avatar for joshl_1995

so to summarize what the two posters above so eloquently stated: PHP is a server language, which means it's called before a page renders, and the browser is given control over content. So, PHP itself cannot possibly "know" that there is javascript on the page, and that it is trying …

Member Avatar for joshl_1995
0
435
Member Avatar for Jane160768

feel free to look into: http://en.wikipedia.org/wiki/Luhn_algorithm also, this page will help a lot :) http://stackoverflow.com/questions/72768/how-do-you-detect-credit-card-type-based-on-number

Member Avatar for ryantroop
0
235
Member Avatar for jamey8420

I think the IFRAME is technically "outside" the control of the window (for security reasons). You can try removing the http: and instead do: window.open("//test/forms/....."); this way, you are not "leaving" the server to come back to the server, thus creating a security hole. If the double whack doesn't work, …

Member Avatar for ryantroop
0
3K
Member Avatar for asif49

The only good ways I can see this working is if you control the input method (i.e., data flow that builds the div). Alternatively, if you control the source (the database), you can use whatever method you use to push the data to also keep track of activity, and push …

Member Avatar for stbuchok
0
167
Member Avatar for helloworld1234

So, the exercise is meant to get you to problem solve. Think about HOW you would go about doing this. What is the process? What is the minimum number of columns you must have? Obviously it can't be 1 or 2. This about what it would look like to make …

Member Avatar for tinstaafl
0
3K
Member Avatar for ryantroop

Hi All! So, I have a shared windows host with IIS 7 with godaddy, so that I can use MSSQL/TSQL (which, as I understand it, is not available with Linux). However, my server configuration education was with Linux, and focused on the wonderful all encompassing .htaccess file to configure environment …

Member Avatar for stormal1
0
245
Member Avatar for NardCake

Not to be a jerk, but not developing for IE is like asking a majority of PC users to simply ignore your website... As to your problem, you can use window.location. href = "http://mywebsite.com"; If you do not put in a protocol, it should append a relative path to the …

Member Avatar for NardCake
0
10K
Member Avatar for cyberdaemon

my SQL is.. getting better, so take this as a "starting point" and maybe someone can fix it if I did it wrong.. It looks like youre using variables as it is, so why not use SQL as a language and do your logic as necessary... (Im summarizing your code, …

Member Avatar for cyberdaemon
0
128
Member Avatar for M4rt1985

At first glance, it would seem that your variables are not being cleared on refresh of the initial object. When you change "SelectManufacturer" you need to either clear the variables of the remaining values of your selector boxes. Since the page doesn't refresh, the variables are remaining set. You may …

Member Avatar for M4rt1985
0
192
Member Avatar for xbat

ok.. so if Im following along with you right -> You're pulling stock numbers from a database. Those stock numbers are individually posted on your page for ordering purposes. If that is correct, you have two options. Do the math in the database `"SELECT col1, col2, (SELECT SUM(col1, col2)) as …

Member Avatar for xbat
0
3K
Member Avatar for diablo4151

Try this first, at the top of workspace_files.php: session_start(); $nm = $_SESSION['username']; exit("The username in this session is $nm."); If you get "empty" or "Null" or "The username in this session is ." Then you have a whole different problem to handle. Then we can try below if necessary. I …

Member Avatar for dbalas
0
11K
Member Avatar for Thropian

this link, and the associated links within, will probably get you off in the right direction. http://www.w3.org/2010/05/video/mediaevents.html Ryan

Member Avatar for Thropian
0
197
Member Avatar for ryantroop

So I have seen a few widgets around that make use of seemingly custom social media share buttons. Are these buttons made by simply extracting the URL being built from the API? Or is there a better way to do this? The iFrame versions are quite "invasive" and often do …

0
77
Member Avatar for praveencrony

a quick way I can think off the top of my head is to make an onchange function for the check boxes, that will take the particular check box being checked as a parameter. Each time it runs, it checks to see first if any boxes are checked. If not, …

Member Avatar for ryantroop
0
188
Member Avatar for bmaglar3

you can always try to see if your query running properly.. `Line 21 - $r = mysql_query($query) or die ("There was an error: " . mysql_error());` Before that, you may actually want to echo out what you are passing into mysql: Insert into line 20 - die($query); //this will exit …

Member Avatar for ryantroop
0
131
Member Avatar for Dave-B

your best bet is to use F12 on the page after it's rendered, follow the DOM Tree, and find the class or id name of the object you want to affect, then attach your own CSS to make the changes you want. It looks like the params that are passed …

Member Avatar for ryantroop
0
163
Member Avatar for ganges

You can make a javascript file in any text editor, and save the file "as" .js With Eclipse, you can find that there are a number of plugins. These are the top 3 results from The Google. ;) Last one is a video. www.eclipse.org/webtools/jsdt http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CCwQFjAB&url=http%3A%2F%2Fwww.eclipse.org%2Fdownloads%2Fpackages%2Feclipse-ide-javascript-web-developers%2Fheliosr&ei=ctB4UOL1M-O9yQH6_YD4Cw&usg=AFQjCNFE7XHw8mlqjqfpB5LOwpWZFCBl4A http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&ved=0CDAQtwIwAg&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFsnna6mmg5M&ei=ctB4UOL1M-O9yQH6_YD4Cw&usg=AFQjCNG_Tb_9OIltAbbJOn1ufrDQuMN1Og

Member Avatar for ryantroop
0
111
Member Avatar for crishein14

http://www.velocityreviews.com/forums/t346147-generating-pyo-from-py.html If it is not clear from the example, those are command line scripts; i.e., what you use to start up python in the first place.

Member Avatar for M.S.
0
3K
Member Avatar for vibrantred94gt

That first part (checking to see if a box is checked or not without any client side script) is a bit "impossible," assuming this is meant to affect some sort of data exchange. You would need javascript to do this (or any other of the very few client side scripting …

Member Avatar for vibrantred94gt
0
227

The End.