I'd like to load something from website B into a page on website A and contain the functionality of website B within a container on website A.
I tried doing this using a div and jQuery's load() method but I run into cross-domain-scripting issues (I think, it works with a local file but not a remote URL).
I also tried using an iframe bu...
Hello this is may first question and I have found so far the following alternatives:
ServerSideInclude
embedding complete pages via iframe
to parse xml and translate into html
It would be nice, if you have some more suggestions.
Thanks for your patience.
Best regards Matthias Günther
...
Hi guys, I have a slight problem, I am trying to capture the input of two buttons, one yes, one no, into a database but for some reason the database doesn't always show the value of the button clicked, it just shows up blank.
<form action="refer.php" method="post" id="formID" >
<div class="prompt_container" style="float: left;">
...
I would like to load a HTML document and modify it's text in PHP. For example, if I have a document like this:
<html>
<head><title>Test - Example.com</title></head>
<body>
<p><a href="http://www.example.com">Link number 1: Example.com</a></p>
<p>Link number 2: Example.com - some random text</p>
</body>
</html>
I would like to add a...
Hi
I'm very newbie with jQuery (and Javascript) and i don't know how to do this.
I want to grab two divs and insert them on a new div.
Example:
<div class="test"></div>
<div class="test"></div>
<div class="test2"></div>
<div class="test2"></div>
to
<div class="float">
<div class="test"></div>
<div class="test"></div>
<...
Okay so I am trying to compare a login textbox password and username with a custom validator using linq to get information from the database it always returns false though on the validator could someone please tell me where my code below is going wrong. This will be very much appreciated... thank you in advanced...
protected void LoginV...
Hello Everyone,
I was just wondering what is the best image uploader with a gallery and ordering abilities. What I had in mind was a back-end page that has thumbnail images to the left, and an image upload panel to the right. When an image gets uploaded, the thumbnails in the left gets updated. I also need a delete function on all of th...
Can u show me completed html code where it is some rectangle in it with "height=75% of my screen" and "widtht=4/3 of height". So, it should be 3:4 reсtangle where height depends of my screenheight, but width do not depends of my screenwidth. Only of screenheight.
i thought i understood previus time, but it was not so.
I have this:
<s...
Here is a quick sketch.
I would like to achieve that images in the gallery div will be 100% of the height of the gallery div and keep the aspect ratio
AND
that images would resize as you would change the size of browser.
Is this possible?
Any help would be much appreciated.
Here is what I made so far: www.nulaena.si/photob/.
...
Im new to WP and Im not real sure how to work with the loop. I am trying to display featured posts in the sidebar with this code:
<?php
query_posts('cat=5');
$url = get_permalink();
while(have_posts()){
the_post();
$image_tag = wp_get_post_image('return_html=true');
$resized_img = getphpthumburl($image_tag,'h=168&w=168&zc=1');
$title ...
Does anyone know a JBoss equivalent to Apache's unescapeHTML(String) function?
...
Hi
I have an article in which I use PHP code inside the text editor in Joomla, in the backend. I can see jQuery already called when the page loads, here is my code inside the Article edit textbox:
<?php
$username="XXX";
$password="XXX";
$database="XXX";
mysql_connect('localhost',$username,$password) or die(mysql_error());
mysql_select...
where can I find elegant looking Wordpress (or not Wordpress, but similar style) themes in plain HTML/CSS format, without all the php?
thanks.
...
This is an Explorer only problem and the symptoms are:
I have links that when clicked will load in HTML chunks (none of which contain html header tags) using javascript. The html chunks are placed in various <div>s around the page, perhaps 3 different places with 3 different chunks brought in via javascript.
When these chunks load in ...
I have a html/css based menu and I'm trying to put a flash video in the banner right under it, but when I hover the dropdown section of the menu it ends up behind it.
Is this a z-index problem or do I need to set certain properties on the flash video?
...
As a web developer I frequently will have two floated (child) divs inside of another (parent) div. Actually I do this all day long.
<style type="text/css">
#left {float:left;}
#right {float:right;}
</style>
<div id="parent">
<div id="left" class="child"> </div>
<div id="right" class="child"> </div>
</div>
Thi...
For example, I have a website which has a dynamically-generated segment of its dom which looks roughly like this:
<div id="master">
<div class="child"> ... </div>
<div class="child"> ... </div>
<div class="child"> ... </div>
...
<div class="child"> ... </div>
</div>
There might be hundreds of child elements in this manner, a...
Usually, when people click on a link, I have onclick bound to it. And then return false.
When people click with "control", they expect a new page to open up. Therefore, I want to ignore the onclick AND/OR detect it. How do I do this?
...
Had a nice PHP/HTML/JS prototype working on my personal Linode, then tried to throw it into a work machine.
The page adds a script tag dynamically with some JavaScript. It's a bunch of Google charts that update based on different timeslices. That code looks something like this:
// jQuery $.post to send the beginning and end timestamps
...
I am working on a web app that will generate an NxN grid based on the user's selection of N. I want the total width of the grid to be relative (ie 100% of the available space) so that users can print on various paper sizes. I can easily calculate the width of the squares in the grid by % (ie: 100%/N), but I am having issues calculating t...