Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #977

37 Posted Topics

Member Avatar for mel01
Member Avatar for navi17

Use javascript screen.width - gives you the screen width screen.height - gives you the screen height window.resizeTo(600,600); - resizes the window I hope that was quick enough for your needs, however this info took me 2 minutes to find using google.

Member Avatar for vasile.manda
0
2K
Member Avatar for veledrom
Member Avatar for Bashir ahmad

Set up a query, then in your report set the data to the query not the table.

Member Avatar for Bashir ahmad
0
79
Member Avatar for baseballfury

I think i just answered this in the post above this one, but just in case. [CODE] url=url+"?q="+str; url=url+"&q2="+str2; url=url+"&sid="+Math.random(); [/CODE] However, I would highly recommend you learn jQuery. You'll find ajax requests so much easier.

Member Avatar for thonz
0
2K
Member Avatar for sassenach

Try [CODE] var comment = jQuery('textarea[name=reply_desc]').html(); alert(comment.val()); [/CODE]

Member Avatar for alexhernandez
0
163
Member Avatar for Hangfire

Hi guys I'm making a golf handicap calculator, you have a couple of columns, for each hole - par, score, difference and adjusted difference. I need to total up each column, and this is my code to do it. It works but feels inefficient and clunky. Any thoughts on improving …

0
78
Member Avatar for webass

You need to learn ajax. Instead of the submit button, submitting the form via the action the submit button calls a function. That function can have an ajax call in it to do the job of submitting the form, but that same function could do a host of other things, …

Member Avatar for Hangfire
0
134
Member Avatar for grahamfromcork
Member Avatar for gretty

I was in your position a while ago. This website has been a brilliant resource for helping me learn common or good practices for website building. HTHs [URL="http://sixrevisions.com/"]http://sixrevisions.com/[/URL]

Member Avatar for Hangfire
0
68
Member Avatar for pbcomput

Could you post up your current code? Ajax stands for asynchronous javascript and XML, it's used for getting data from a page onto the current page. For what you want to do standard javascript or jquery should work no problem.

Member Avatar for pbcomput
0
144
Member Avatar for K?!

I may have misunderstood your needs but i think this is what you are after. Wrap your html in a container div give it an id of container or something helpful. In CSS specify its height and overflow:hidden. That way if any element go below the height of the div …

Member Avatar for K?!
0
466
Member Avatar for Hangfire

Hi, I've got a "contact us" form on my website and naturally i'm trying to guard against sql injection/hacking The body of the text gets run through the below function, however this means i end up with How's it going = How's it going Can someone tell me which part …

Member Avatar for Hangfire
0
127
Member Avatar for mairtinomarta

Looks a little like jquery or some other Javascript library is being used. Libraries like jquery make javascript so much easier to use. Instead of writing getElementById("createuserprofilecheckbox") in jquery you'd write $("#createuserprofilecheckbox") I'm guessing the above function may have been written for a different library, personally i'm only familiary with …

Member Avatar for mairtinomarta
0
107
Member Avatar for Hangfire

Hi all, I dabble in a bit of XNA from time to time. I'm creating a 2d top down tank game. My AI bot that controls the enemy tank, works like this simple pathfinding to target until in range, turn turret to target and fire. The problem I have is, …

Member Avatar for Hangfire
0
131
Member Avatar for corputty

1)Make button on form 2)Right click button - choose properties 3)In the properties box choose format 4)Find the box entitled hyperlink address 5)Insert web address Button will now link to the specified website.

Member Avatar for corputty
0
84
Member Avatar for beforetheyknew

I usually find that when I float a load of images or list items, the containing div or list needs to have overflow:hidden added to the CSS. Floating disrupts the natural flow of the document, adding overflow hidden to the container allows the document to re-flow after you've disrupted it. …

Member Avatar for Hangfire
0
88
Member Avatar for Eva0607

Try adding this to the start of your css [CODE]*{padding:0;margin:0;}[/CODE] Might help, if not post back Also this is a great tutorial on how to make rollover images appear. [URL="http://meyerweb.com/eric/css/edge/popups/demo.html"]http://meyerweb.com/eric/css/edge/popups/demo.html[/URL]

Member Avatar for Eva0607
0
3K
Member Avatar for lonelyday91

Doesn't sound healthy does it? Can you whip the hard drive out and connect it to another computer. Then run chkdsk from that computer? That's how I found out my hard drive was snafu'd

Member Avatar for lonelyday91
0
159
Member Avatar for Gonbe
Member Avatar for whiteyoh

I could be wrong as my php is not that strong, but your echo statement looks incorrect try <?php echo($price); ?> Also are you setting the value of $price? i.e. you're not sending a null value are you?

Member Avatar for whiteyoh
0
99
Member Avatar for ElegantElephant

i think the problem is you've saved your code in an html file. As it's php code, you need to save it as a php file not html. include('modules/forms/edit_user.php');

Member Avatar for ElegantElephant
0
110
Member Avatar for xlx2

You use an id in to refer to one element and one element only, to refer to it in CSS you use # e.g. #leftcol{width:30%;} Class can refer to a bunch of elements, in CSS you refer to a class with . e.g. .evenRows{background:#ababab;} Webpages don't really have a defined …

Member Avatar for Hangfire
0
73
Member Avatar for zyzopath

Different browsers have different defaults for margin and padding. I always start my css by defaulting all margins and padding to 0. [CODE]*{padding:0; margin:0;}[/CODE] Some people would shoot me for that and say you need to specify all the elements you are using like this [CODE]body,h1,h2,div etc etc{padding:0; margin:0;}[/CODE] So …

Member Avatar for ko ko
0
2K
Member Avatar for dlannetts

Does your page members.php have some code that checks the session variable is set? If so can you post that code?

Member Avatar for dlannetts
0
116
Member Avatar for fielding

There is no CSS solution to this problem Your answer lies in javascript This site should help you out [URL="http://css-tricks.com/select-cuts-off-options-in-ie-fix/"]http://css-tricks.com/select-cuts-off-options-in-ie-fix/[/URL]

Member Avatar for fielding
0
331
Member Avatar for dmkc
Member Avatar for xxmp

Unfortunately, textarea doesn't support maxlength. You can use javascript to limit the length Are you familiar with jQuery?

Member Avatar for xxmp
0
85
Member Avatar for doforumda

When using jQuery for ajax I write something like this [CODE] $.post(url,{params},function(data){ $("#content").html(data); }); [/CODE] Give it a try, see how you get on.

Member Avatar for Hangfire
0
142
Member Avatar for allhimachal.com

[CODE]url=url+"?q="+str; url=url+"&anothervariable"+var1; url=url+"&andanothervariable"+var2; url=url+"&sid="+Math.random();[/CODE] A bit like that. ? means you're going to start adding variable, then you use & to seperate them.

Member Avatar for Hangfire
0
175
Member Avatar for linksprocket

[CODE]<select name="optone" size="1" multiple="mulitple" onchange="setOptions(document.myform.optone.options [document.myform.optone.selectedIndex].value);"> [/CODE] I've added multiple="multiple" to your code for the select box. This will allow you to use hold ctrl and select more than one option. However I'm not sure if the rest of your code is set up to handle this. Give it a …

Member Avatar for Hangfire
0
184
Member Avatar for Hangfire

Hi all, here' the code [CODE] $(document).ready(function(){ $("ul li ul").hide(); $("li:has(ul)").click(function(){ $this = $(this); if ($this.siblings().find('ul:visible').size()!=0) { $this.siblings().find('ul:visible').slideUp(1000, function(){ $this.find('ul:hidden').slideDown(500); }); } else { $this.find('ul:hidden').slideDown(500); } }); $("li:has(ul:hidden)").mousedown(function(){ $(this).css("background-color","#869094"); }).mouseup(function(){ $(this).css("background-color","#7793ae"); }); $("li > ul > li").mousedown(function(){ $(this).css("background-color","#a5ccef"); }).mouseup(function(){ $(this).css("background-color","#d9ebf1"); }); }); [/CODE] The problem is the li:has(ul:hidden) part - …

Member Avatar for Hangfire
0
88
Member Avatar for andydeans

Not sure about incorporating Dreamweaver, but when I started learning PHP I found [url]www.tizag.com[/url] invaluable. Also [url]www.w3schools.com[/url] is a great source for any web dev

Member Avatar for andydeans
0
196
Member Avatar for feoperro

I think what you want to trim goes inside the brackets so something like trim(tableName.rows[1].cells....)

Member Avatar for Hangfire
0
76
Member Avatar for Heidegger
Member Avatar for Heidegger
0
196
Member Avatar for dadrian

I doubt either would make a noticeable difference. Is your version of Vista 64bit? If not then IMO 3GB is ample. I upgraded from 2GB Kingston (apparently cheap) to 4GB Crucial Ballistix. There is a slight difference in games (Mostly GTA), but boot up time and general usage no improvement. …

Member Avatar for dadrian
0
277
Member Avatar for Hangfire

Please help, I have copied some code to connect to a MSAccess database. However when I try to run it I get a Security Exception message. Weird thing is, in the IDE I can use database explorer to find, open and test the connection to the database. The database is …

Member Avatar for Hangfire
0
164

The End.