|
|
Hello,
Does anyone know why IE stores cookies in two different directories, and what the differences between the two stores are?
One directory is "Documents And Settings\[UserName]\Cookies" , and the other one is "Documents And Settings\[UserName]\Local Settings\Temporary Internet Files" .
Thanks in advance,
Rich
ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸
|
|
|
|
|
I found out it's because of the way Windows Explorer displays them. The cookies are really only kept in the Cookies folder, and Explorer just shows them in the TIF folder as a convenience.
ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸
|
|
|
|
|
I havn't been able to remove white space around my back ground graphics in the table.
I put the background in the tag, and now I've tried it in a div tag, but neither will remove the space around the image. I've tried a lot of things with padding and margins, but nothing has worked yet.
You can view the page here or below in the code box =)
http://patrickmcnally.serverpowered.net/pball/get.php?cat=Guns&page_num=1#
[code]
a:link { color: #00000; text-decoration: none;}
a:visted { color: #00000; text-decoration: none;}
a:hover, a:active { color: #00000; text-decoration: none;}
#pics1 a.picsClass {
margin: 0px 0px 0px 0px;
width: 125px;
height: 70px;
color: #00000;
text-decoration: none;
font: 2px;
line-height: 10%;
}
td
{
overflow: hidden;
}
table
{
padding: 0px 0px 0px 0px;
}
#mainTable td
{
margin: 0px 0px 0px 0px;
max-width: 125px;
max-height: 70px;
width:expression(
document.body.clientWidth > (500/12) *
parseInt(document.body.currentStyle.fontSize)?
"125px":
"auto" );
font: 2px;
line-height: 10%;
}
function populateBox2(title, desc, pic1_name, pic2_name, pic3_name, pic4_name, pic5_name, pic1, pic2, pic3, pic4, pic5)
{
title = title.replace(/!!!/g, "\'");
desc = desc.replace(/!!!/g, "\'");
title = title.replace(/&&&/g, "\"");
desc = desc.replace(/&&&/g, "\"");
text1 = "<h2>"+title+"</h2>"+desc+"<br><br><a href=\"#\" onClick=\'populateBox1(\""+pic1+"\"); return false\'>"+pic1_name+"</a> ";
if (pic2 != "")
{
text1 = text1 + "<a href=\"#\" onClick=\'populateBox1(\""+pic2+"\"); return false\'>"+pic2_name+"</a> ";
}
if (pic3 != "")
{
text1 = text1 + "<a href=\"#\" onClick=\'populateBox1(\""+pic3+"\"); return false\'>"+pic3_name+"</a> ";
}
if (pic4 != "")
{
text1 = text1 + "<a href=\"#\" onClick=\'populateBox1(\""+pic4+"\"); return false\'>"+pic4_name+"</a> ";
}
if (pic5 != "")
{
text1 = text1 + "<a href=\"#\" onClick=\'populateBox1(\""+pic5+"\"); return false\'>"+pic5_name+"</a> ";
}
//alert(text1);
populateBox1(pic1);
document.getElementById("box2").innerHTML = text1;
}
function populateBox1(picName)
{
document.getElementById("box1div").innerHTML = "<img src=\"images/" + picName + "\" id=\"box1\">";
//alert(picName);
//document.getElementById("box1").src = "images/" + picName;
var h = document.getElementById("box1").height;
var w = document.getElementById("box1").width;
var nh = 150;
var nw = 300;
var nh2;
var nw2;
//alert(h + " " + w + " " + nh + " " + nw);
if (h > 150)
{
nh2=nh/h;
nw2 = w * nh2;
document.getElementById("box1").height = nh;
document.getElementById("box1").width = nw2;
//alert("Height - h-" + h + " w-" + w + " nh-" + nh + " nw-" + nw + " nh2-" + nh2 + " nw2-" + nw2);
}
w = document.getElementById("box1").width;
if (w > 300)
{
nw2=nw/w;
nh2 = h * nw2;
document.getElementById("box1").height = nh2;
document.getElementById("box1").width = nw;
//alert("Width - h-" + h + " w-" + w + " nh-" + nh + " nw-" + nw + " nh2-" + nh2 + " nw2-" + nw2);
}
}
[/code]
Thank you.
Light and Love to you all
-Patrick Arden McNally
|
|
|
|
|
Please only post the relevant code.
---
b { font-weight: normal; }
|
|
|
|
|
Its all relevant minus the html and body tags =)
Light and Love to you all
-Patrick Arden McNally
|
|
|
|
|
You got to be kidding. What does all that code have to do with the problem? Half of the code is even inside html comments, I can hardly see how that code could be relevant to anything at all.
---
b { font-weight: normal; }
|
|
|
|
|
Hi ,
You write the following code in body tag
topmargine="0"
rightmargin="0"
leftmargin="0"
bottom margin="0"
and also write cellspacing="0" and cellpadding="0" in every table tag
Chetan Visodiya
|
|
|
|
|
Chetan.visodiya wrote: in every table tag
just put that into your css file. Saves you having to put it all over the place
Jason
|
|
|
|
|
Hi,
Is there a way to catch images before they will be used into MSHTML for display ?
I would like to analyse image and block image display into IE if I'm not ok with the image.
I'm working in c# into a IE instance and can interact with MSHTML and the WebBrowserControl.
Thanks !
|
|
|
|
|
Hi,
I'm running IIE 6.0 and an application written in .NET 2003. One of the requirements is that the data be stored on a hard drive other than the hard drive on the server. So I have a drive mapped on another machine which I can see on the server, however the WebServer does not have access to that drive.
The user is not required to enter a userid/password so I believe its running under IUSR_MSP-WEBSERVER but I have no idea for sure or what the password is to grant that UserID access.
Thank you,
Glenn
|
|
|
|
|
Hi,
I have just started learning JavaScript.
When I typed the following code
document.write("My first JS lesson")
into notepad and saved it as first.js
I got the error: 'document' is undefined; source: Microsoft JScript runtime error
Please help.
Best regards,
Tara
Fortitudine Vinsinus!
-- modified at 2:16 Thursday 13th April, 2006
|
|
|
|
|
Try this sample (your sample + digits 0 - 9):
<html>
<body>
<script>
document.write("My first JS lesson");
document.write("<br>");
for(var i = 0; i < 10; i++)
{
document.write(i+ "<br>");
}
</script>
</body>
</html>
|
|
|
|
|
Should I save the text file as first.htm or first.js ?
Actually, if I save it as first.htm, it works.
Fortitudine Vinsinues!
-- modified at 2:30 Thursday 13th April, 2006
|
|
|
|
|
|
Ah! I now understood. Thanks a lot.
Fortitudine Vinsinues!
|
|
|
|
|
Hello friends
I have a problem related to webservice,how to use webservice using REST.i have never use this one..
My problem is that i have a client which wnat get a xml file which is store on server, so its interect with webservice,and by webservice it will get a url of xml file.then from that URL user will get That XML file.
so i want to use in that process REST with webservice not soap,that is http get or post method..by default ,net framework use the soap..
but i want to implement using REST..
so plz help me..
thanks
chear up..
|
|
|
|
|
Hi.I have a situation where i need to change the color of a hotspot on click. I have created hotspot regions which postback certain text values..but i couldnt find any way to change the hotspot color..help please...
|
|
|
|
|
Hi.
I want to create a link in one page that links to a certain section in another page.
Any insights?
Thanks!
|
|
|
|
|
on the target page put an anchor link where you want to jump to
<A name="myAnchor" >
then when linking to that page use the # sign, so on your page with the link
<A href="myOtherPage.htm#myAnchor">Click here to goto MyAnchor on myOtherPage.htm</a>
-- modified at 10:42 Wednesday 12th April, 2006
|
|
|
|
|
Perfect. For some reason I thought I needed the "/" in between the anchor reference and html page.
Thanks!
|
|
|
|
|
Please linking to that page use the # sign
www.javaresources.biz
|
|
|
|
|
I need to realize drag and drop in Mozilla...
There is event ondragstart in Internet Explorer...
I need to handle such event in Mozilla...
I have table with some text. I need drag it in Mozilla and drop in other application...
How it can be realized???
|
|
|
|
|
I did it myself... For example it can be looking like follow:
<html><br />
<head><br />
</head><br />
<body><br />
<br />
<a href="#" onmousedown='TryDragStart()' onmousemove='DragStart()'><br />
<table><br />
<tr><br />
<td>Row1</td><br />
<td>Row2</td><br />
</tr><br />
</table><br />
</a><br />
<br />
</body><br />
</html><br />
<br />
<br />
<script language="javascript"><br />
<br />
document.onmouseup = DragStop;<br />
<br />
var dragTried = false;<br />
<br />
function TryDragStart()<br />
{<br />
dragTried = true;<br />
}<br />
<br />
function DragStop()<br />
{<br />
dragTried = false;<br />
}<br />
<br />
function DragStart()<br />
{<br />
if (dragTried)<br />
{<br />
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');<br />
<br />
var dragService = Components.classes["@mozilla.org/widget/dragservice;1"].getService(Components.interfaces.nsIDragService);<br />
var trans = Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable)<br />
trans.addDataFlavor("text/unicode");<br />
<br />
var textData = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);<br />
textData.data = "Done!!!";<br />
<br />
trans.setTransferData("text/unicode", textData, textData.data.length * 2);<br />
<br />
var transArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);<br />
transArray.AppendElement(trans);<br />
<br />
dragService.invokeDragSession(dragService.TEXT_NODE, transArray, null, dragService.DRAGDROP_ACTION_COPY);<br />
}<br />
}<br />
<br />
</script>
|
|
|
|
|
If this question has been asked previously, I apologize in advance.
Recently (like, in the past week), I was asked to prepare to assume support of an Intranet based application that is in production (mostly ASP).
My web skills are lacking and this is going to significantly stress and grow them. Having said that, is there a product that can 'map' the process flow of a series of pages? Given a start point, can it shows what ASP pages are called, and what they call, etc?
Any help is appreciated.
Tim
-- modified at 9:19 Tuesday 11th April, 2006
|
|
|
|