Forum: JavaScript / DHTML / AJAX Apr 16th, 2008 |
| Replies: 5 Views: 1,907 i guess here is my new question. how can i transfer all of the properties of window.currentObj to 'this'? |
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008 |
| Replies: 5 Views: 1,907 thanks, i did alittle bit of googling on js globals and found i could attach the variable on to the window object. so.. my script ends up looking like this.... maybe?
function... |
Forum: Geeks' Lounge Apr 16th, 2008 |
| Replies: 55 Views: 4,059 could this be the next 2 girls one cup!?!?!??!?!
dibs on first youtube live skinning reaction video!
jk, live skinning animals is horrible. do on to others as you would have them do on to you. i... |
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008 |
| Replies: 5 Views: 1,907 what i want to do is this:
function foo(param1, param 2){
this.bar=function(){
this.intervalID=setInterval(this.fbar,5000);
}
this.fbar=function(){
//(do stuff with the properties of... |
Forum: JavaScript / DHTML / AJAX Apr 16th, 2008 |
| Replies: 6 Views: 1,104 it is a div with 100% width that drops down using a setInterval loop.
it is probably put in place by server side scripts |
Forum: PHP Mar 31st, 2008 |
| Replies: 8 Views: 4,009 first, no, you cant have any html inside of the php tags unless it is in an echo/print . i would put the form and submit buttom outside of the tags.
second, before you try to loop through... |
Forum: PHP Mar 29th, 2008 |
| Replies: 1 Views: 507 "Php and Mysql Web Development" third edition
by Luke Welling and Laura Thomson.
ISBN 0-672-32672-8
quite possible the best resource on everything php and mysql.
it covers this about... |
Forum: PHP Mar 29th, 2008 |
| Replies: 1 Views: 616 edit> what i meant was that i need to get all strings that match this:
$ALL_LETTERS_AND_UNDERSCORE{}
as long as it is not already inside of a match of the same expression.
so.
i want to... |
Forum: PHP Mar 29th, 2008 |
| Replies: 1 Views: 616 i have looked at many regex charts and tutorials but i still cant get preg_match_all do what i need it to do.
i need to return this example:
param1,$config{}
from this string
... |
Forum: PHP Mar 28th, 2008 |
| Replies: 8 Views: 975 thanks! that does work simpler than my method. |
Forum: PHP Mar 28th, 2008 |
| Replies: 8 Views: 975 i am sorry for the triple post, i truly am... but i solved this issue after a day's work of googling and thought i could save people the same trouble by posting my solution here. i guess a moderator... |
Forum: PHP Mar 28th, 2008 |
| Replies: 8 Views: 975 i dont need to "technicaly" or "directly" manipulate the html, i just need to grab the html and then echo it modified.
let me rephrase this...
when i run this....
<?php function test(){ ?>... |
Forum: HTML and CSS Mar 28th, 2008 |
| Replies: 3 Views: 582 so when the user goes to that folder, they see a blank page instead of a directory of all of your files.
ex.
http://johndm.com/images/index.JPG |
Forum: PHP Mar 28th, 2008 |
| Replies: 1 Views: 725 //do you login script here
//after user is logged in
$username= $_SESSION['username'];
//after connecting to mysql
$query = "SELECT * FROM students WHERE username= '".$username."'";... |
Forum: PHP Mar 28th, 2008 |
| Replies: 1 Views: 1,637 a quick google search finds this:
http://www.phpclasses.org/browse/package/2859.html |
Forum: PHP Mar 28th, 2008 |
| Replies: 9 Views: 5,072 http://php.net
there is a search box that will search all of the functions available, documentation, and more in php. |
Forum: PHP Mar 28th, 2008 |
| Replies: 8 Views: 975 i wrote the below script but it is not done
note: what i will eventually write is not as basic as just bolding the text. i just put that there as an example.
example check function
<?php ... |
Forum: PHP Mar 28th, 2008 |
| Replies: 8 Views: 975 the function i am writting needs to take the data contained in a statement>
<?php
checkConfig(){
?>
<input type="text" name="input" />
<?php
}
?> |
Forum: PHP Mar 28th, 2008 |
| Replies: 8 Views: 975 is there a way to create a function that uses values from the statement inside of brackets.
ex.
myFunction(){
//data here
}
if not, what i am trying to do is get a html tag and... |
Forum: JavaScript / DHTML / AJAX Mar 25th, 2008 |
| Replies: 1 Views: 628 here is how to do it in javascript:
<!-- your image -->
<img src="YOUR_THUM_IMAGE_PATH" onclick="javascript:fillDiv('YOUR_BIG_IMAGE_PATH','div1');" />
<div id="div1" style="width:100;... |
Forum: JavaScript / DHTML / AJAX Mar 24th, 2008 |
| Replies: 1 Views: 6,329 here is the script:
<select id="jump">
<option value="http://localhost/page2.html" onclick="javascript:window.location = this.value;">page2</option>
<option... |
Forum: PHP Mar 20th, 2008 |
| Replies: 10 Views: 1,550 to inilize an action when a div is clicked, it needs to have the "onclick" parameter set.
ex.
<div class="longtext" id="div0">
<span class="chin L">
begin 九</span></div>
<div class="section"... |
Forum: JavaScript / DHTML / AJAX Mar 20th, 2008 |
| Replies: 4 Views: 9,814 are you using server side scripting for the upload? |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2008 |
| Replies: 6 Views: 3,934 firefox 2's error console works quite nicely. it will tell you a syntax error is on line 1 every now again, forcing you to search.
i would have to agree with ShawnCplus however on the whole deal.... |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2008 |
| Replies: 8 Views: 1,021 replace the origional with this
<script type="text/javascript">
function changeMaxLength()
{ var names=new Array(),name;
names[0] = 'TopicTitle';
// make a new array entry for... |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2008 |
| Replies: 9 Views: 6,541 yes. here is the full script:
<head>
<script type="text/javascript">
function matchHeight(id1,id2)
{
var el1=document.getElementById(id1);
var el2=document.getElementById(id2);
... |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2008 |
| Replies: 1 Views: 1,041 if you menu is positioned absolutely or relatively positioned, i can see this happening
do you have a link, i am not completely sure what is happening |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2008 |
| Replies: 9 Views: 6,541 put the <script> in the head of your page and change your body tag to this:
<body onload="javascript:matchHeight(div1id,div2id);"> |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2008 |
| Replies: 8 Views: 1,021 i don't understand what you mean. i can write it to change the maxlength by name instead of className. |
Forum: JavaScript / DHTML / AJAX Mar 17th, 2008 |
| Replies: 9 Views: 6,541 try this:
<div id="div1" style="background:#003399; height:152px; width:175px; position:absolute; left: 595px; top: 181px;">div 1</div>
<div id='div2' style="background:#99FF00; height:500;... |
Forum: JavaScript / DHTML / AJAX Mar 16th, 2008 |
| Replies: 8 Views: 1,021 it already does. check line 5. it should be changing all elements with the class 'forminput' |
Forum: JavaScript / DHTML / AJAX Mar 15th, 2008 |
| Replies: 8 Views: 1,021 what kind of board are you using? can you use javascript in it?
if you can insert javascript on the page, do this...
<script type="text/javascript">
function changeMaxLength()
{
var maxlen... |
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008 |
| Replies: 4 Views: 1,997 using ajax to call a php fuction:
put this where you want resutls:
<div id="results" style="display:inline; width:100px; height:20px;"></div>
include this ajax library in the page you want the... |
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008 |
| Replies: 5 Views: 4,225 thanks for the help. since i see that there is no cross-browser compatible function for this, i went to the keyboard and started writting a cross browser script. i have finished most of it and so far... |
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008 |
| Replies: 2 Views: 619 if you want to have the script email the results, it would probably be easier and safer to use a server side script like PHP . i could be wrong but, i dont even think javascript will send emails. |
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008 |
| Replies: 2 Views: 4,519 is this what you are looking for?
<script type="javascript" >
//replace formname with with the name of your form and inputname with the
//name of the input field you want to select... |
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008 |
| Replies: 5 Views: 4,225 i am aware that i need to use wysiwyg techniques, but all of the sources i have found online come preset with font drop downs, change text size, insert hyperlink etc. i just want the script i wrote... |
Forum: JavaScript / DHTML / AJAX Mar 11th, 2008 |
| Replies: 5 Views: 4,225 i have searched the web for awhile on this...
i wrote a script that will format certain words as the user types
(ex. when the user types MTrak the text is replaced with <b>MTrak</b>)
i need... |
Forum: JavaScript / DHTML / AJAX Feb 11th, 2008 |
| Replies: 1 Views: 2,106 <input type="button" onclick="javascript: Test(mystring)" name="clickMe" value="Update Now!" /> |
Forum: JavaScript / DHTML / AJAX Feb 11th, 2008 |
| Replies: 4 Views: 6,333 how could i call a javascript function through an url like>
http://localhost/?functionname.params
i get how to do a link but i need to know if it is possible through an url.
if it is not... |