html

SSL insecure objects

Hi, On my page https://ol-shop.at/index.php?route=account/login it seems to be that there are insecure objects. Could someone please help me, taking a look on the source code. I don't know which url or object could be insecure. Thanks. ...

PHP error Warning: Unknown(includes/main.php)

Web page contains php includes: <?php include 'http://www.example.com/header.txt'; ?> and <?php include 'http://www.example.com/footer.txt'; ?> header.txt and footer.txt files with html markup are placed in the root folder of a website. Everything went ok pretty long, but suddenly the following error messages appeared on webp...

access php array from javascript

I have the following code where I declare a php array variable and inside a function, I put some data into the array. I also display buttons mapped to each index of the array that will show the data in the php array for that index number. When testing on a browser, I don't get the right answer. I checked the page source, it had a code ...

Trimming a breadcrumb

I'm currently struggling with the problem of trimming a breadcrumb navigation so it doesn't destroy my site's design. The problem is the following: The breadcrumb navigation has a fixed width (let's say 900px) - So, if the user navigates to an item whose location results in a breadcrumb that is larger than 900px I'd have to trim it to f...

html code doesn't run in the browser, and only display the code

hi, in order to find the server spec. i've created a file in the root dir in my website called spec.htm and entered this content as i was offered by another user: <html> <head> <title></title> </head> <body> @ServerInfo.GetHtml() </body> </html> but i only get a copy of the code in my browser and it doesn...

SlideShare Does not Load on Internet Explorer 8

Hello, I have made a simple embed of slideshare on my site. However, on Internet Explorer, it keeps saying "Loading" and nothing appears. However, in Firefox its almost instant. Please try here using internet explorer. Or is it just me? It makes use of Flash and Javascript. What can the problem be? Thanks all for any hellp ...

Radio button accept just first selection on mobile website for iPhone

I developed a mobile website to be accessable by mobile devices, mainly iPhone and Android devices. And, to select the type of search to perform, I created 4 radio buttons. But, on iPhone when the user makes the first choice and try to choose another type of search, the radio button clicked just don't get selected! It's looks like a bug ...

php mysqli_insert_id($link) convert/retain

Hi i have a form (X) that inserts data into a mysql table (A) and than redirects to another form (Y) which will insert data into another table (B) but i need to use tables A's last inserted row. I know i can get it from using the mysqli_insert_id function but when i submit to form Y and re show form Y is messes up because the $ID value...

Javascript sample program not working

Hi Folks, I am trying to run a sample javascript code from the link: Link Nothing happens on FF and on IE, after scanning, it just clears out the text field. What is the issue here? Code: <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Docu...

Target a window when verifing from an email link.

I have a sign up page on my site. After entering your info, the site sends out an email to verify the user. From that email link: I wonder how I can target the previously opened window to my site? (Which would currently say: Thank You for signing up, please check your email for a validation token) Placed in the body tag of the site is:...

HTML Form onSubmit()

My HTML form is clearing automatically after I click the submit button. Any idea how to stop this from happening? Here's the opening tag for the form: <form onsubmit="return math()"> ...

Image appears in FF, but not in IE. Very weird indeed.

Check the following site out, top logo image shows up in FF, but not IE8. Any ideas? http://blog1.catdynamics.com/ ...

CSS Block for Employee Entry Form

Hello I am creating a simple form to enter employee information. An employee has the following characteristics: First Name Last Name Age SSN Gender Race etc... There are about 20 properties I want to display a label and textbox for (some have dropdowns). I don't want to use a table because I've read that using <div> elements and CSS ...

Is there any way to do an AJAX call to a file above public_html?

I'm making a script that lets my users open the page, vote for our site, and then get a password to some restricted content on the site. However, I plan on storing the password in a file outside public_html so it cannot be read directly from the source code. Is there any way to do an AJAX call to a file above public_html? I don't want t...

Keep Firefox from displaying plugins needed for an html object

I have a Firefox plugin that adds some optional features to my web app. I'm using an object tag in the html to embed the plugin. However, if a user doesn't have the plugin Firefox displays the message: Additional plugins are required to display all the media on this page. Since the plugin is just for optional features I don't want ...

UTF-8 content type meta tag is slowing down the page loading, why?

I'm setting the following meta tag to set the content type and in doing so the page load time jumps by about 30% (350 --> 500 msec using chrome dev tools and firefox firebug). Note: I have it placed first thing inside the tag to prevent re-rendering of page content. Also, the size of the page in kb is essentially the same, so that is no...

C# Convert Relative to Absolute Links in HTML String

I'm mirroring some internal websites for backup purposes. As of right now I basically use this c# code: System.Net.WebClient client = new System.Net.WebClient(); byte[] dl = client.DownloadData(url); This just basically downloads the html and into a byte array. This is what I want. The problem however is that the links within the h...

Auto fit CSS attribute to textarea

Hi, I am working on web application. I wanted to apply auto height to textarea using CSS, dont want to use any script, jquery plugin and other stuff. After applying class ( i.e. style property ) to textarea, it should automatically increase it's height not width as per content present it in. In this case width should be fixed i.e. w...

Getting value of selected option from drop down in Apache wicket

Hi, I want to retreive the value of selected option from a DropdownChoice on click of Link in Apache Wicket.This works on click of button but not on click of Link. Please guide. Thanks, Nitesh ...

Call a function on any event of textarea

Hi folks, I wanted to call a signle function on any event happens for <textarea>. How do I achieves this. Please do suggest me folks, jquery is preferable. Thanks, -Pravin ...