-
Content Count
15 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout DNA180
-
Rank
Newbie
- Birthday 12/27/1978
Profile Information
-
Location
Athens, Greece
-
It's OK I found it... It was a syntax error. I should remove the semicolon from while(pcount<20;) to while(pcount<20).
-
Into a php page I have 20 text boxes. I want to make a button, using javascript, and when user clicks on it the rest 19 text boxes to take 1st text box's text. I have done something like this but it isn't working... Any idea??? function Throw_PhotoStuff(){var pcount=1; while(pcount<20;){document.getElementById('photo_'+pcount).value = document.getElementById('photo_1').value; pcount++;}} Thank you for your precius time!!!
-
Hello everyone!!! I have install a joomla plugin by the name AllVideos Plugin. All I have to do is to put some tags like this {youtube}h2TLC0zGwKE{/youtube} somewhere in to my site and my video shows up!!! In this point I need your help... In to my php code I have add a hidden textbox that holds video's source and a div that will show video when I click on an image using javascript.Part of PHP code <input id="video_url" name="video_url" type="hidden" value="" /><div id="video"></div> Part of JAVASCRIPT code var Open = String.fromCharCode(123,121,111,117,116,117,98,101,
- 1 reply
-
- Javascript
- php
-
(and 1 more)
Tagged with:
-
My friend justsomeguy it is working!!! xDYou are the best!!! :good:Thank you all for your answers!!!
-
Hello guys!!! I think I need some help here... I have make a database query and some variables that take values from this query. Variables look like this... $photo_1 = $photos_itemrow->photo_1;$photo_2 = $photos_itemrow->photo_2;$photo_3 = $photos_itemrow->photo_3;$photo_4 = $photos_itemrow->photo_4;$photo_5 = $photos_itemrow->photo_5; What I want to do is to make this variables using WHILE for example. Something like this... $count=1; while ($count <= 5){${'photo_'.$count} = ${'photos_itemrow->photo_'.$count};$count++;} Or like this... $count=1; while ($count
-
My friend "Deirdre's Dad" thank you very much for your help!!! You are right... I just removed the second part of IF and it works fine!!! :DMy friend "thescientist" thank you too for your answer!!!
-
Hello guys!!! :DI think I need your help here... I have made this JS code below in to my site and I have a problem. When I click on maximize icon, first time doesn't work and it works on second click!!! Does anybody knows what am I doing wrong???FIDDLE EXAMPLE: HERE CODE EXAMPLE: function Images_MaxMin(){ var div_1 = document.getElementById("image_max");var div_2 = document.getElementById("image_min");var big_img = document.getElementById("big_image");var img_url = document.getElementById("img_url"); if (div_1.style.display == 'block' || div_1.style.display == '
-
How to loop same javascript code for more than one div elements?
DNA180 posted a topic in JavaScript
I have made three "boxes" and each box contains a button. When I click the button, box hiding, when click again, box appears. This is my html code: <div id="SC1_A_"> <!-- BOX --> <div id="SC1_B_" onClick="SC1();" class="something"> </div> <!-- BUTTON --> </div> <div id="SC2_A_"> <div id="SC2_B_" onClick="SC2();" class="something"> </div> </div> <div id="SC3_A_"> <div id="SC3_B_" onClick="SC3();" class="something"> </div> </div> This is my javascript code: <script type="text/javascript"> function S -
Hello everyone!!! I need you help here... What I want to do, is to set an image as background and then an alpha color over this image. I tried something like that... background:url(../images/back.jpg) rgba(0, 0, 0, 0.15) repeat center center;orrgba(0, 0, 0, 0.15) background:url(../images/back.jpg) repeat center center; Both cases, the only thing I can see, is the backgroung image without rgb alpha effect!!! Does anyone have an idea on how should I do that??? Don't tell me to create a new DIV that will go over the DIV with the background image!!! It should work both in the same DIV!!! Thank you
-
Come on... If you see my first post you will understand lol!!! Anyway... No problem, I'll look for it somewhere else... Thank you!!!
-
Where do you see this???
-
Yes, as I wrote before I also try something like this <a href="...">Something</a> but nothing!!!
-
Here is the files!!! I am working in file freichat.php and what I have change is from line 524 to 542!!!
-
I don't know if I can't have <div> element inside <a> in this case, but in other case I have done this and worked!!!Here is an example: <table height='100%' width='auto' border='0' cellspacing='0' cellpadding='0'> \n\<tr> \n\<td> <a href='index.php?option=com_content&view=frontpage&Itemid=2'> \n\<div id='HomeNormal' onMouseOver= id='HomeMOver' onMouseOut= id='HomeMOut' title='none' alt='home'> </div></a> </td> \n\</tr> \n\</table> \n\ Anyway... I'll do as you said it looks more logical. But what should I do wit
-
Hello guys... I have a problem here. I am trying to put a link into a php variable and it isn't show up. Here is what I am trying to do: $text .= "<span><a href='index.php?option=com_alphauserpoints&view=account&userid=".$data."&Itemid=24'><div id='UserProfile_Normal' onMouseOver= id='UserProfile_MOver' onMouseOut= id='UserProfile_MOut' title='None' alt='profile'> </div></a></span>"; Does anybody find something wrong on syntax or something??? Thank you in Advance!!!