I have a problem with base tag. It looks like
<base href="http://myexamplepage.com/myfolder/" />.
Everything works, besides this query:
$.get("application/soft/calendar_month_change.php", ...)
My computer thinks it's cross domain server and changes query to OPTIONS .... When I remove the base tag, it works correctly but my site doesn'...
Hello,
I've an page that will load chunks of HTML using ajax. All those fragments will have images and some of them will be specified in a separate CSS using background-image. I wanted to write a pre-loader, so that the loaded chunk will show up only when all the loading is complete. If all the images would have been in the HTML chunk, ...
I'm trying to get a nice overlay effect going with a slider using easyslider 1.7, not only should this include images but also text that represent the image. Now I'm having trouble lining up the text on the page where I need it.
http://intranet.streamflame.com
That is the home page, The section where you see the black overlay on th...
I would like to create an Invoice in HTML instead of a PDF-file. And I would like to let the user easyli download the HTML-file via a link. How can I do this?
If I simply link to the HTML file, it is only "temporarily downloaded" and view in the users web browser. I would like the same effect as when the user download a .zip-file or sim...
Hi,
I am wondering whether there is a way in which I can get the value within a given HTML element using JQuery?
Example
<span id="45463_test"></span>
(using the proper tags made the code to processed)
What I want is the '45463_test' value within the id attribute (using JQuery).
Thanx for the responses and the edit.
I would it su...
Hi guys, i want to test the orientation by using css for ipad.This is the css file i use
@media only screen and (device-width:768px) and(orientation:portrait) {
body { background: green; }
}
@media only screen and (device-width:768px) and(orientation:landscape) {
body { background: red; }
}
I am not sure whether this will work or not...
Hi
I need to align a image to the center of the browser window, therefore i created the following css:
@charset "utf-8";
/* CSS Document */
html {
background-color:#CCCCCC;
}
body {
margin:0px 0px 0px 0px;
}
img {
position:absolute;
border:0px;
left:50%;
top:50%;
margin-left:-156px;
margin-top:-217px;
}
...
Hi,
How can I delete content of div with jquery?
example of div id container
input:
<div id="container">
<h1>sdsdsdsd</h1>
dsdsdsdsds
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
dsfdfsd
</div>
output:
<div id="container">
</div>
Thanks
...
Hi,
I have designed a HTML for with the tabindex set to the fieds. There are 3 fieldsets. The lower fieldset contains the submit tab with the proper tabindex specified. But the tab is not pointing to the tag. After fieldset2 it is moving directly to fieldset.
Please find the following code described:
<form action="#" method="post" i...
I wanted to create a box that you could click on and be forwarded to "#" so I thought this would be a good idea:
But unfortuneatly areamaps couldn't be used in div or p tags :/
Anyone have an idea what a good solution would be?
...
I'm trying to style my table-head so it has rounded corners with images like this:
<tr style="background: url(middleimage.gif) repeat-x;">
<th style="background: url(leftimage.gif) no-repeat;">
title
</th>
<th>
title
</th>
<th style="background: url(rightimage.gif) no-repeat;">
title
</th>...
I'm using an <input type="file" /> as a file browser dialog in MVC. I don't actually want to upload the file though, I am using it to select a template on a shared drive. I only want to get the full filepath in my action method. The server will then process the file and force download to the client. I have got hold of the HttpPostedFile...
HI,
i have an "Article" model, that has HTML as it's content.
I have created some test data with YAML fixtures and faced following problem:
As i say "rake db:fixtures:load", following error appears:
ArgumentError: syntax error on line 22, col 0: <li>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ...
Hi,
I am using Jquery to dynamically add some HTML into a page.
Now this new HTML code should trigger additional Jquery functions to enable more processing to be done but this new HTML code isnt recognized and thus the additional Jquery functions arent triggered.
How can I get the new HTMl code to be recognized and the additional fu...
How would I go about trimming/stripping the URL down to the page name...
So: http://www.BurtReynoldsMustache.com/whatever/whoever/apage.html
Would become: apage.html
Any ideas?
...
I'm doing something rather elementary - doing a <textarea cols="60" rows="35"> textarea scrollable text box.... the problem im getting is html keeps popping up regardless of whether its written in wordpress html or text mode - in text mode on wordpress, when the selected say <br> is selected, it selects all the text, so i cant delete tha...
In my HTML code, I've got a certain cell whose value should be cleared if a link button is pressed. I'd like to achieve this using jQuery and here's how I tried to do it but with no results:
var $delActionDate = $('#delete_Event');
$delActionDate.live('click', function() {
var myRow = $delActionDate.parent().parent...
I know this is a bit strange and believe me it's not the way I would have done it but I was given this project and now I have to live with it.
I have a table that is sortable on my page (created with DisplayTag libraries) and to indicate which column is being sorted a background image is assigned to the column header.
The problem I'm h...
I have this form with a JS function to verify that there are no blank fields,
but it doesn't work.
<head>
<script language='javascript'>
function verifyForm(){
var msg='';
if(document.getElementById('field1').value==''){msg+='Field 1 \n';}
if(document.getElementById('field2').value==''){msg+='Field 2 ...
I try to make web site with minimal HTML markup for presentation.
Having the following HTML tag:
<div class="title">I'm a title!</div>
I need to add two elements before it using CSS, 1 for background and 1 for shadow.
Something like:
.title
{
display: block;
position: relative;
}
.title:before
{
display: block;
backgr...