Showing results 1 to 8 of 8
Search took 0.01 seconds.
Posts Made By: nagoon97
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008
Replies: 1
Views: 700
Posted By nagoon97
Re: Substitute for clip Property

Wrap the image with a div tag with the "overflow" property set to "hidden"


<html>
<head>
</head>

<body>
<p>The clip property is here cutting an image:</p>
<div style="width:50px; height:200px;...
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008
Replies: 14
Views: 3,853
Posted By nagoon97
Re: Load custom window with open.window function?

Hi Inny,

So, in page (A)
You will have

<input type="hidden" id="imgurl">
in the HTML area

imgs[p].onclick=new Function("document.getElementById('imgurl').value = this.src; iw=window.open('your...
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008
Replies: 14
Views: 3,853
Posted By nagoon97
Re: Load custom window with open.window function?

Simply insert the following code to the HTML area of page (A) to add the hidden field.
<input type="hidden" id="imgurl">
And before popping the new window, you have...
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008
Replies: 5
Views: 2,516
Posted By nagoon97
Re: textarea with formatting

If you decided to use designMode, things get a little more complicated because the property can only be used for a document. So, you will have to set up an iframe with the property on. However, if...
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008
Replies: 14
Views: 3,853
Posted By nagoon97
Re: Load custom window with open.window function?

OK, so you have two HTML pages.
One(A), which you have the thumbnails and another(B), which should pop up when you click on the thumbnail.
In page (A), create a hidden field with ID "imgurl".
And...
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008
Replies: 14
Views: 3,853
Posted By nagoon97
Re: Load custom window with open.window function?

Instead of opening the new image, open a HTML page and let that HTML page load the image.
There are a many ways to do this and if you can create the HTML page within the same domain, you may want to...
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008
Replies: 10
Views: 1,460
Posted By nagoon97
Re: width of a combo

The same code should work for IE as well.
I tried the following code in IE and it's working fine.
<select size="1" style="width:100px">
<option>1</option>
<option>2</option>
</select>
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008
Replies: 5
Views: 2,516
Posted By nagoon97
Re: textarea with formatting

It can NOT be done with textarea.
I'm not sure what you meant by "full WYSIWYG editor" but you do need to use some of the technics being used in a WYSIWYG editor to do what you are trying to do.
If...
Showing results 1 to 8 of 8

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:40 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC