HTML - Accessing External Forms In Firefox
I have a site that uses forms, iframes, and php to validate information. When a form field is blurred, javascript triggers a php script in an iframe to verify certain information. The page generated by that php script will return information to the orginal form, auto-populating certain fields.
Instead of accessing 'document.sampleform.???' it needs to access 'parent.sampleform.???' This script works in IE, Opera, Safari, but NOT Firefox. Firefox alerts that parent.sampleform is undefined. Is this a security issue? Is there another way to access a remote form in Firefox? Thank you in advance! Similar TutorialsFirstly sorry if this is not posted in the correct forum unsure of how this would/could be done. I am creating a website for a business and I want a page for "Directions." Is it possible to create a form where the customer can enter their address and on submission the form will open a new window with "multimap.com" with the fields already filled. Thanks in advance for any replies. gil Hi, I would like to acceess the Active Directory from my HTML page and display the user's name. For example, I want to see on my page: "HELLO Jon Do!" Is it possible? How do I do it? Thank you. Hi, I am using a .htc file for the first time. In my html page I have used a CSS. This CSS file has a class 'selectHeader' as follows: .selectHeader { FONT-SIZE: 8pt; BEHAVIOR: url(selectHeader.htc); CURSOR: hand; BACKGROUND-COLOR: #c0c0c0 } The selectHeader.htc file looks something like this: <PUBLIC:COMPONENT lightweight="true"> <PUBLIC:ATTACH EVENT="ondocumentready" ONEVENT="init();" /> <PUBLIC:ATTACH EVENT="onkeypress" ONEVENT="sortTable()" /> <PUBLIC:METHOD NAME="setTBody" INTERNALNAME="sort_setTBody" /> <SCRIPT> function init() { alert("In init"); } .. function sortTable() { alert("in sortTable"); } ..... ........ .........(the other functions) </SCRIPT> The 'FONT-SIZE', 'CURSOR' and 'BACKGROUND COLOR' from the class selectHeader are applied to the <TR> correctly but there aren't any alerts from the .htc file. Just wanted to know if this is indeed the right way to access a .htc file. Can someone please help? Hiya, The default page for my website (e.g., www.mywebsite.com) is www.mywebsite.com/index.htm. However, I want to be able to tell certain people to go to "www.mywebsite.com/info" to get served a special page. Is all I have to do: 1. Create a folder called 'info', 2. Insert my content into a file called index.htm and place in that folder. I've tried the above with FF and IE and it seems to work fine - am just checking it's the best way of doing it. Thanks, James Hi, In a site that I am developing, the client wanted some behaviour that I could only accomplish with an iframe. Is there a way to prevent the inner page (the page source of the iframe) from being accessed alone? The solution must be some kind of javascript, because it SHOULD be accessed by web crawlers. Thanks Claudia I am attempting to link to audio files that exist on my server using the anchor tag. I am able to download and play the audio files just fine on Firefox, Chrome and Safari, but not on Internet Explorer. When I click the link in IE, all I see is a bunch of random characters. Also, when I attempt to download the audio file IE attempts to download it as an html file. What can I do to fix this so that I am able to access these files via IE. Here is the code. Code: <a href="/audioFile.aif">audioFile.aif</a><br /> Hi, i am am learning WordPress and have just started, but i have a problem....when i try to access my site i get this: Warning: Cannot modify header information - headers already sent by (output started at /home/smra9/public_html/wp-content/themes/evanescence/functions.php:6) in /home/smra9/public_html/wp-includes/pluggable.php on line 890 when i open pluggable.php and i go to the line 890 it says: header("Location: $location", true, $status); i will also copy a text from line 885 to 890 so maybe you will understand better: if ( $is_IIS ) { header("Refresh: 0;url=$location"); } else { if ( php_sapi_name() != 'cgi-fcgi' ) status_header($status); // This causes problems on IIS and some FastCGI setups header("Location: $location", true, $status); } Can anyone help me, i don't know what to do Hi I'm setting up a site that sells images that the user creates online by selecting a combination of PNG images with transparency (using drop down menus). The images are layered using CSS, and the last layer has a watermark image to help prevent print screen copies. I then use PHP to create a composite image of the user's final work, that they can then buy. The only problem is that there is nothing to stop the user from bringing up each individual image on a new browser page using the address of each image eg http://www.mysite.com/images/image1.png - downloading or print screening them, and making their own composite image. I was wondering if there is a way to prevent someone accessing the individual images by typing something like http://www.mysite.com/images/image1.png in a fresh browser tab? I found something using .htaccess - but I don't fully understand it - I think it isn't meant to do what I need: RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(.*\.)?mysite.com [NC] RewriteRule \.(jpeg|jpg|gif|png)$ - [F] It is supposed to stop hot linking, but I think that's a different problem. Thanks for your time and help. Shaun Hi folks. I suspect this a total noob type question but I can't find anything in DW help or by searching so here goes. I have a page with frames. In one of the frames I want an external URL to be displayed rather than content from the mother site, if that makes any sense. I don't mean asa a link, I mean the actual content to be displayed. How do I do that? Something like... TopFrame = ./top.html LeftFrame = ./left.html BottomFrame = someother.domain/fred.html And they all get shown when the page is loaded. Ta muchly for your help! Simon. Could anyone please tell me the code to call an external html file? I need to refresh my memories! Is it possible to log the amount of times an external link has been clicked on your site? I have managed to get an external style sheet to work on 7 of my 8 pages. I cannot figure out why it will not work on the 8th page. The code was copied and then modified to fit the new page so there should be no reason it shouldn't work. http://ironhillsclan.com the forum page (rules.html) is the only on that doesn't work. Any ideas? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Dagorhir | Iron Hills Clan: Forum Rules</title> <link rel="stylesheet" type="text/css" href="style.css"/> <meta name="keywords" content="iron,hills,dagorhir,larp,sword,fighting,clan,ragnarok,battle,forum,rules"/> <meta name="description" content="These are the rules for our fourm, please abide by them for the sake of all."/> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Language" content="EN-GB"> <script type="text/javascript"> function show_confirm() { var r=confirm("By choosing yes you agree that you have read, understand, and will abide by the terms of use."); if (r==true) { location.href = "phpBB3/index.php" } else { location.href = "index.html" } } </script> </head> <body> ... </body> </html> Hi there, I am looking for a way that if a user clicks on a button on my website it will autofill a search field on a website that I have no control over. I have been told that I just need to add the url http://www.externalsite.com?fieldname=123456789 This doesn't seem to work. Can anyone help with this? Hey guys!! I'm trying to understand how to start a dynamic website. I am an advanced actionscripter but have only just started PHP. I have spent the last week trying to understand how to use mysql but I just dont get it!! Im just wondering if I can use PHP to load and edit external variables, stored as txt files, and display them in HTML. Obviously im not looking for someone to tell me step by step!! I would just like a nudge in the right direction, maybe a good site or tutorial. Cheers guys!! ive read the tutorials and searched the forums but i still need some help. im trying to read data from a text file here (http://www.ndbc.noaa.gov/data/realtime2/41035.spec) what i cant figure out is how to call each value to its own dynamic text field. YYYY MM DD hh mm H0 SwH SwP WWH WWP SwD WWD STEEPNESS AVP MWD 2006 12 10 00 00 0.3 0.3 6.2 0.1 3.2 ESE SE N/A 6.1 110 2006 12 09 23 00 0.3 0.3 9.1 0.1 3.6 SE SE N/A 6.2 134 2006 12 09 22 00 0.3 0.3 9.1 0.1 3.6 SE ESE N/A 6.2 125 2006 12 09 21 00 0.3 0.3 7.1 0.1 3.4 ESE ESE N/A 5.9 119 i want to read the latest SwH and SwP and SwD readings into a flash movie. how do i call those into the field? Hi there, I've got an example xml page that I'm trying to separate into tidier pices (eg separate files for stylesheets, xsl, xml etc). However I don't know how to separate the xml file? Normally in html it's just something like with stylesheets/javascript etc: <script>script here</script> turns into <script src="external.js"></script> But that doesn't work with xml it appears, so can anyone tell me how I can remove the bit in <xml> ... </xml> to an external file and get it loading from that external file...? I've got lots of external links on one of my pages, I say lots - there's one in a PHP echo that directs someone to a route planner, and this url goes http://routeplanner.rac.co.uk/showmu...it=1&daddress= [First part of address going to postcode] %20 [Second part of address going to postcode] &daddress_limit=1&vaddress1=&vaddress1_limit=1&vaddress2=&vaddress2_limit=1&vaddress3=&vaddress3_lim it=1&vaddress4=&vaddress4_limit=1&vaddress5=&vaddress5_limit=1&rtype=fast&preferences=3&trafficcondi tions=3&nextgengeo=1 This does not validate, and returns me 409 errors ( nice )... ...So how would you a validate the link ? Thanks for any ideas I want to be able to transfer all the code in my menu to an external stylesheet. The menu can be seen at www.brand-newhomes.co.uk/page135.htm Thus far I have: Made a file called "menustyle.css" and uploaded it to the root of my server. I then pasted the link:- <link rel="stylesheet" href="menustyle.css" type="text/css"> into the head code and no menu is displayed. I then cut and pasted the rest into a file and called it " stylesheet.js " and uploaded it to the root in my server. I then linked to this as <link rel="stylesheet" href="stylesheet.js" type="text/javascript"> into the body code. It didnt work. What have I done wrong? I have uploaded a file containing a timesheet for my users to be able to access and print off to fill in their hours. But I dont want anyone else accessing it because the timesheet contains phone/fax numbers, email address's etc. How can I make it so that only redirected traffic will be able to access/see it? e.g www. mywebsite.com /files/ timehseet.htm Access granted? If redirect= 'www. mywebsite.com /forum/index.234234q3434' then YES Else then NO If that makes sense. I am pretty sure I have to add somthing in .htaccess but not sure what. And do I make the htaccess file in the folder of the file in question? e.g www. mywebsite /files/.htaccess ?? |