User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 397,633 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,353 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 67
Search took 0.01 seconds.
Posts Made By: Sailor_Jerry
Forum: Network Security Feb 18th, 2008
Replies: 2
Views: 478
Posted By Sailor_Jerry
Re: Help Someone took over my PC

Thanks for the advice. I reformatted the drives last week and haven't had any complaints.
Forum: Network Security Feb 7th, 2008
Replies: 2
Views: 478
Posted By Sailor_Jerry
Help Help Someone took over my PC

Someone gained access to two of my clients computers systems this week. On both systems some shady ebay and paypal transactions took place.

the computers have PC Anywhere installed and vnc and I...
Forum: JavaScript / DHTML / AJAX Apr 24th, 2007
Replies: 6
Views: 2,026
Posted By Sailor_Jerry
Re: Right Align Option Element Text

There are a few things you can try here.

When trouble shooting I like to change the background of the element to lime or something. Then it's easier to see the positioning of the element.

If the...
Forum: PHP Apr 23rd, 2007
Replies: 2
Views: 3,631
Posted By Sailor_Jerry
Re: Trying to get the SMTP functionality for mediawiki to work.

Thanks whizz..

Finally got this working. The issues had nothing to do with UserMailer.php.

I Needed to make some changes in LocalSettings.php in my wiki dir. Mainly adding the path to pear in the...
Forum: JavaScript / DHTML / AJAX Apr 23rd, 2007
Replies: 6
Views: 2,026
Posted By Sailor_Jerry
Re: Right Align Option Element Text

try newOpt.className = 'GoRight';
Forum: JavaScript / DHTML / AJAX Apr 20th, 2007
Replies: 6
Views: 2,026
Posted By Sailor_Jerry
Re: Right Align Option Element Text

after this:
newOpt.text = <%=Value%> ;
you can then check the innerHTML of newOpt var.
Will the <%=Value%> always be in string format?
If not you can use isNaN() which will return true if passed a...
Forum: PHP Apr 20th, 2007
Replies: 2
Views: 3,631
Posted By Sailor_Jerry
Help Trying to get the SMTP functionality for mediawiki to work.

I have apache in this dir C:\Program Files\Apache Software Foundation\Apache2.2\
and
Mail.php and PEAR.php are in this dir C:\php\PEAR\pear
When I add the files to the dir the log file is...
Forum: PHP Apr 12th, 2007
Replies: 2
Views: 2,067
Posted By Sailor_Jerry
Help What does the go-pear.phar file do.

I am in in the process of adding mediawiki to a sever that already has Apache and php installed.
Forum: JavaScript / DHTML / AJAX Apr 6th, 2007
Replies: 0
Views: 3,894
Posted By Sailor_Jerry
Help Javascript Function to reload DOM Element?

Is there a javascript function that will reload a dom element if given the element id?

I am using javascript to update a divs innerHTML with the location of an image.

Cut of the javascript code...
Forum: JavaScript / DHTML / AJAX Dec 11th, 2006
Replies: 1
Views: 4,450
Posted By Sailor_Jerry
Re: Need to Scroll to div element

Got this to work.
Step 1. Get the offsetTop amount of the element you want to scroll to.
Step 2. Set this equal to the scrollTop size of the container, in my case a...
Forum: JavaScript / DHTML / AJAX Dec 11th, 2006
Replies: 1
Views: 4,450
Posted By Sailor_Jerry
Help Need to Scroll to div element

I am using Ajax to load the content of a div element. I have a call back function that I want to use to scroll to the appropriate element, after the data has been loaded.
I also have the id of the...
Forum: HTML and CSS Oct 23rd, 2006
Replies: 2
Views: 3,691
Posted By Sailor_Jerry
Help htmlfile: Invalid argument error using AppendChild

I get this script error “Invalid argument” when using appendChild(). When in Microsoft Visual Studio Debugger I see “htmlfile: Invalid argument”, and the line it blows up on is...
Forum: JavaScript / DHTML / AJAX Aug 27th, 2006
Replies: 3
Views: 1,450
Posted By Sailor_Jerry
Re: Delay loading advertisements

Here is a quick test with the scipt in the body. If you remove defer from the script tag and run the html, you will get a script...
Forum: JavaScript / DHTML / AJAX Aug 27th, 2006
Replies: 3
Views: 1,450
Posted By Sailor_Jerry
Re: Delay loading advertisements

Try adding the "defer" attribute to the end of your script tags.
i.e.(<script type='"text/javascript" defer>your javascript</script>

With this attribute, the code inside the script tags will only...
Forum: JavaScript / DHTML / AJAX Aug 27th, 2006
Replies: 1
Views: 975
Posted By Sailor_Jerry
Re: Simple AJAX with xml

Your getting that error because that property does not exist on the XML document.

You must first parse the document before you can access the DOM. Once you do this your code should work.

Here is...
Forum: JavaScript / DHTML / AJAX Aug 24th, 2006
Replies: 1
Views: 3,864
Posted By Sailor_Jerry
Re: Ajax - evaluate scripts in response

No the function will not execute. If you want that to run the script you will need to call a function after your response to "eval" the script for you.

Your new function will need to find and...
Forum: HTML and CSS Aug 24th, 2006
Replies: 1
Views: 747
Posted By Sailor_Jerry
Re: CSS, Netscape 4, @media screen, display none

Your not doing anything wrong.

Netscape does not support media screen in version 4. Support begins at 6.0

View the table here for more...
Forum: HTML and CSS Aug 24th, 2006
Replies: 9
Views: 1,228
Posted By Sailor_Jerry
Re: CSS Help

Basically I wanted to do the reverse of body.selector{overflow:-moz-scrollbars-none;}.

So If .selector is on the page, apply this style to the body.

I don’t think you can do it, since you would...
Forum: HTML and CSS Aug 24th, 2006
Replies: 9
Views: 1,228
Posted By Sailor_Jerry
Re: CSS Help

I want to match my own class selector and then modify the body.


//This does not work but to give you idea of what i am trying to do.
.selector body {overflow:-moz-scrollbars-none;}


Do I have to...
Forum: Java Aug 23rd, 2006
Replies: 4
Views: 1,466
Posted By Sailor_Jerry
Question How can i run this program from a jar.

I am using IBM Websphere, and from here i can just click Run As java application, and the program runs inside websphere. But i want to run the program outside IDE.

I created a jar file and...
Forum: Java Aug 13th, 2006
Replies: 1
Views: 647
Posted By Sailor_Jerry
Re: How can I update a files extension?

Done. Used http://javaalmanac.com/egs/java.io/GetFiles.html
Forum: Java Aug 12th, 2006
Replies: 1
Views: 647
Posted By Sailor_Jerry
How can I update a files extension?

Can this be done with java.io?
Thanks, sj
Forum: JavaScript / DHTML / AJAX Aug 12th, 2006
Replies: 2
Views: 1,453
Posted By Sailor_Jerry
Re: How do you grab a value from a stylesheet?

This would work in ie.

document.styleSheets[i].rules[i].style.styleFloat


rules being the line number were the actually style in question needs to be updated. rules will give you the selector text...
Forum: HTML and CSS Aug 11th, 2006
Replies: 1
Views: 1,253
Posted By Sailor_Jerry
Re: Dreamweaver and the missing html end tag

You could write a program that does this. I'm sure the C++, or JAVA guys can help.

Use java.io to open the files
Then search for the </body></html> tags.
if the search is successful move to the...
Forum: JavaScript / DHTML / AJAX Aug 11th, 2006
Replies: 8
Views: 10,973
Posted By Sailor_Jerry
Re: I need to grab the height of a div.

Thanks really good stuff.

The issues is that, I only need to set the div to the height of the window, if the content of the div requires the div too expand.

Right now the default height of my...
Forum: JavaScript / DHTML / AJAX Aug 11th, 2006
Replies: 8
Views: 10,973
Posted By Sailor_Jerry
I need to grab the height of a div.

Is there a way using javascript to grab the height of a div.

The issues is that when I render my html page I have a div with a set size. It only takes up about half of the screen.
When the content...
Forum: HTML and CSS Aug 8th, 2006
Replies: 1
Views: 1,835
Posted By Sailor_Jerry
Re: Iframe not working.

Got it working.

<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html...
Forum: HTML and CSS Aug 8th, 2006
Replies: 1
Views: 1,835
Posted By Sailor_Jerry
Iframe not working.

I have two html files.

FirefoxBug.html

<html>
<body>
<div style=background-color:red;>
<iframe src="/iframe.html"></iframe>
</div>
</body>
Forum: HTML and CSS Aug 1st, 2006
Replies: 9
Views: 1,228
Posted By Sailor_Jerry
Re: CSS Help

Thanks for the info!!

Since !important is ignored by IE, the height declarations in the second style is just a hack to get firefox to behave.
Essentially firefox will ignore the second height, and...
Forum: HTML and CSS Aug 1st, 2006
Replies: 3
Views: 3,145
Posted By Sailor_Jerry
Re: scrollbars color or hiding not possible in Firefox

For firefox i think you could can use "-moz-scrollbars-none" for the overflow property
Forum: HTML and CSS Aug 1st, 2006
Replies: 9
Views: 1,228
Posted By Sailor_Jerry
CSS Help

I have two css classes. ".test1 and .test2"
Can anyone explain what this code is doing?


.test1{height: 100%; clear: both; border: 1px solid #999;}
.test1, .test1 .test2{height: 100% !important;...
Forum: Java Jun 16th, 2006
Replies: 3
Views: 1,165
Posted By Sailor_Jerry
Re: boolean array

ahh thanks. I didn't have the "new" keyword
Forum: Java Jun 16th, 2006
Replies: 3
Views: 1,165
Posted By Sailor_Jerry
boolean array

Is there a way to get this down to one line of code?

boolean [] myArrary = {true, false};
return myArrary;


I'm trying to combine those lines into one, but I am not sure what the correct syntax...
Forum: Java Jun 14th, 2006
Replies: 1
Views: 2,952
Posted By Sailor_Jerry
Re: boolean array

Forgot to update the method definition from boolean to boolean []
Forum: Java Jun 14th, 2006
Replies: 1
Views: 2,952
Posted By Sailor_Jerry
boolean array

How do i return a boolean array?

i get an error stating that i can't cast from boolean[] to boolean.

I have something like below.


method logic...

boolean [] information = {true, false};
Forum: JavaScript / DHTML / AJAX Jun 6th, 2006
Replies: 6
Views: 40,949
Posted By Sailor_Jerry
Forum: JavaScript / DHTML / AJAX Jun 6th, 2006
Replies: 6
Views: 40,949
Posted By Sailor_Jerry
Is there a sleep/wait javascript function for firefox?

I need to suspend processing in my script for a few seconds, and i am not sure how.

Thanks, sj
Forum: HTML and CSS Jun 2nd, 2006
Replies: 1
Views: 1,239
Posted By Sailor_Jerry
Re: Regular Expression Help!

Got this to work.
I will just remove the parameters and the values if they are present in the url. Then run the logic to create and add the paramters and there values to the url, if they are...
Forum: HTML and CSS Jun 2nd, 2006
Replies: 1
Views: 1,239
Posted By Sailor_Jerry
Regular Expression Help!

I need to check if two parameter names exists in the url. If any of them do i need to replace the value of the parameter.

I can match the parameter name, but i am not sure how to replace the value....
Forum: Java May 23rd, 2006
Replies: 9
Views: 1,155
Posted By Sailor_Jerry
Re: Java Program Help

Yep, it did the job.

I would have liked the program to loop through all the files, so that i didn't have to update the name of the file i was reading each time.

Also i could have used the split...
Showing results 1 to 40 of 67

 
All times are GMT -4. The time now is 9:58 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC