Search Results

Showing results 1 to 25 of 25
Search took 0.01 seconds.
Search: Posts Made By: Troy ; Forum: JavaScript / DHTML / AJAX and child forums
Forum: JavaScript / DHTML / AJAX May 23rd, 2006
Replies: 4
Views: 14,451
Posted By Troy
This is a simple to use, self-contained website slideshow utility. Do you have a monitor or TV setup in your lobby where you'd like to present web content automatically? With this HTML/Javascript...
Forum: JavaScript / DHTML / AJAX Mar 24th, 2006
Replies: 1
Views: 2,350
Posted By Troy
To handle the content switching, I recommend you look into AJAX. This means using the javascript XmlHttpRequest object. There are a few popular AJAX function libraries out there to make it easier. I...
Forum: JavaScript / DHTML / AJAX Mar 24th, 2006
Replies: 12
Views: 19,793
Posted By Troy
I wrote a PHP proxy script that has some applications relevant to this thread, so thought I'd update the thread with this....

If your webserver supports PHP, I have a script that is a solution to...
Forum: JavaScript / DHTML / AJAX Mar 17th, 2006
Replies: 2
Views: 2,760
Posted By Troy
I fixed all the obvious problems I found (there were several).


var message="Function Disabled!";

function clickIE()
{
if (document.all) {
alert(message);
return false;
Forum: JavaScript / DHTML / AJAX Mar 8th, 2006
Replies: 1
Views: 12,705
Posted By Troy
This is an "issue" I've visited many times. Unfortunately, formatting HTML to be viewed in a web page that will print exactly the way you want is near impossible---you aren't allowed that kind of...
Forum: JavaScript / DHTML / AJAX Mar 5th, 2006
Replies: 1
Views: 4,596
Posted By Troy
I'm not sure I understand your goal, but it appears that when a user submits the form, you don't want the form to submit anywhere--instead you want to display the values from the form at the bottom...
Forum: JavaScript / DHTML / AJAX Mar 5th, 2006
Replies: 1
Views: 14,533
Posted By Troy
I consider myself an expert javascript coder, but when I need help, I turn to Matt Kruse. Matt offers many excellent javascript libraries. He has an excellent select box library to do exactly what...
Forum: JavaScript / DHTML / AJAX Mar 5th, 2006
Replies: 7
Views: 20,863
Posted By Troy
Glad to help the csgal.

Campkev is correct. Here is how I do it.

<html>
<head>
<title>My Web Page</title>
<script type="text/javascript">
function LoadTrigger()
{
Forum: JavaScript / DHTML / AJAX Jul 12th, 2005
Replies: 12
Views: 19,793
Posted By Troy
No, once you copy the source from the frame into your div, it's in your parent page. Links clicked in that page will open in that same page by default.
Forum: JavaScript / DHTML / AJAX Jul 11th, 2005
Replies: 12
Views: 19,793
Posted By Troy
You are not going to get around the cross-domain scripting security.

If you are thinking you'll use a hidden IFRAME to load the remote-domain page, then in your page, script copying the IFRAME's...
Forum: JavaScript / DHTML / AJAX Jul 11th, 2005
Replies: 12
Views: 19,793
Posted By Troy
Thanks for the post Eddie! Looks like some helpful info. However, Jaxs, this will not work for you since you do not control the page being loaded into the IFRAME. Notice this from the pate Eddie...
Forum: JavaScript / DHTML / AJAX Jul 8th, 2005
Replies: 2
Views: 17,984
Posted By Troy
Try this:

function doCheck(str1,str2) {
top.LocalCacheLoadStatus = false;
parent.SearchFrame.location.href=str1;
g_str_Mode = str2;
alert (g_str_Mode);
var url =...
Forum: JavaScript / DHTML / AJAX Jul 8th, 2005
Replies: 12
Views: 19,793
Posted By Troy
I've dealt with this scenario extensively, so I think I understand what you are trying to do and what you are asking.

As you've discovered, you cannot use client-side script to work with the...
Forum: JavaScript / DHTML / AJAX Jun 30th, 2005
Replies: 5
Views: 10,629
Posted By Troy
First of all, because this is a pet-peeve of mine, it's "Javascript"--not "Java". The two are not even related. Javascript is not a scripting subset of Java. However, VBScript is a scripting subset...
Forum: JavaScript / DHTML / AJAX Jun 29th, 2005
Replies: 2
Views: 2,341
Posted By Troy
The way to debug javascript is to make a copy of the full script, then remove everything but a few lines or functions. Test to see if it works. If not, remove more. Once you have a page that loads...
Forum: JavaScript / DHTML / AJAX Jun 29th, 2005
Replies: 5
Views: 10,629
Posted By Troy
I wrote a system to do this a few years ago. You can look at what I did by going to http://www.mvirony.com/, then navigate to the Boat Layout page. When you hit the home page, make sure you allow...
Forum: JavaScript / DHTML / AJAX Jun 24th, 2005
Replies: 11
Views: 7,480
Posted By Troy
Thank you for the intelligent and clearly written explanation of the technology, alpha_foobar! I have not heard anyone talk about the performance of the technology before. I read 2 articles...
Forum: JavaScript / DHTML / AJAX Jun 23rd, 2005
Replies: 11
Views: 7,480
Posted By Troy
It's a pet-peeve of mine, so I could not resist responding. :) Java and Javascript are not the same thing. They are not even related. They were completely different development paths from 2...
Forum: JavaScript / DHTML / AJAX Jun 21st, 2005
Replies: 6
Views: 3,475
Posted By Troy
cynch, for what it's worth, if your server supports PHP, I submitted what I think is an elegant code solution for managing user sessions and password-protecting PHP pages. It's here on Daniweb in the...
Forum: JavaScript / DHTML / AJAX Jun 20th, 2005
Replies: 6
Views: 9,197
Posted By Troy
This is a bit off-topic, but Gulraiz, I don't do .Net--so it's up to you to write that class! I was a hard-core Microsoft web developer using ASP/VBScript/MSSQL until .NET took over. There is so...
Forum: JavaScript / DHTML / AJAX Jun 20th, 2005
Replies: 6
Views: 9,197
Posted By Troy
Aha! Thanks, Gulraiz, for interpreting what akoloff really wanted. That is sometimes referred to as "screen-scraping". If you are using ASP.Net, akoloff, then the article that Gulraiz posted a link...
Forum: JavaScript / DHTML / AJAX Jun 16th, 2005
Replies: 6
Views: 3,475
Posted By Troy
I can't help but ask. cynch, you do realize that this login script has zero security value, right? The username and password are written out to the browser and viewable in the source code.
Forum: JavaScript / DHTML / AJAX Jun 9th, 2005
Replies: 6
Views: 9,197
Posted By Troy
Akoloff, if you want to use ASP as you mentioned, then look up ASP's Request Object. It comes in three forms that apply to your scenario:

1. Request.Querystring : to retrieve values from the HTTP...
Forum: JavaScript / DHTML / AJAX Jun 9th, 2005
Replies: 7
Views: 40,057
Posted By Troy
tgreer is right. I agree with tgreer that the user should always be allowed to have control over the print attributes. However, I do wish there was a way that the web developer could indicate...
Forum: JavaScript / DHTML / AJAX Jun 7th, 2005
Replies: 2
Views: 3,312
Posted By Troy
By breaking it down to individual steps, you'll be able to find exactly which line is failing. That's how you need to approach code troubleshooting--one step at a time.

Just looking at your code,...
Showing results 1 to 25 of 25

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC