|
I see. Microsoft is becoming a bit more "standards compliant" as you noted but even the msdn library doesn't come up "right" in firefox. Sometimes I get a little frustrated..
I would suggest looking at your firewall, virus scanner, router config, and maybe call your ISP cause something is either blocking it or there is something up with your connection.
Good luck!
Dirk Watkins
|
|
|
|
|
What's odd is that I experience no problems with any other similar forums.
Kevin
|
|
|
|
|
drkwtkns wrote: even the msdn library doesn't come up "right" in firefox.
True. Although msdn2 is better behaved. Problem is that many complain that it's slower than the main site.
At least Firefox is reasonably well supported by most sites/services these days - unlike, e.g., Opera.
Kevin
|
|
|
|
|
i'm using a popup in this way:
javascript:void(window.open("http://www.codeproject.com"));
how can i force this popup to open always without blocking it by the browser???
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
You can't. If that was possible, all popup blockers would be useless.
---
b { font-weight: normal; }
|
|
|
|
|
You know, I'm SURE I told him that a week or so ago...guess he didn't believe me
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
I was working with asp session.
I have around 30 sesssion variables. I want to update a database using this. For that i need to insert two variables in th database. One is the value of the session variable and other is the name of the session variable.
Eg :- i am initilizing session("name")="harikrk"
session("city")="delhi" etc. and so on...
when i insert into record i have to enter like
insert into details(field,value) values('name','harikrk')
insert into details(field,value) values('city','delhi')
etc.. and so on
i want to use a loop for this because otherwise i may need to write this query 30 times. For that i have to get the name of the session variable. If i get i can give in a loop.
Can any one tell me how can i get a name of the session variable?
by name i mean "name" , "city" etc in the above example.
hope someone will respond soon
thanks
reagrds
hari
|
|
|
|
|
Loop through the keys in the Session.Contents collection. Example:
For Each strKey in Session.Contents
Response.Write strKey & "=" & Session(strKey) & "<br/>"
Next
---
b { font-weight: normal; }
|
|
|
|
|
It works..
thanks a lot
|
|
|
|
|
I have this function
<br />
<br />
function convertToEntities() {<br />
var tstr = document.form.unicode.value;<br />
var bstr = '';<br />
for(i=0; i<tstr.length; i++)<br />
{<br />
if(tstr.charCodeAt(i)>127)<br />
{<br />
bstr += '&#' + tstr.charCodeAt(i) + ';';<br />
}<br />
else<br />
{<br />
bstr += tstr.charAt(i);<br />
}<br />
}<br />
document.form.entity.value = bstr;<br />
}
How can I make charCodeAt(i) return hex instead of decimal?
/\ |_ E X E GG
|
|
|
|
|
eggie5 wrote:
How can I make charCodeAt(i) return hex instead of decimal?
The return from charCodeAt method isn't in decimal format, it returns a number. So, You can't make it return hexadecimal instead of decimal.
It's like asking how to make a cow produce butter instead of cheese.
Use the toString method to convert the number to a string instead of using the implicit conversion that you do now. The toString method takes a parameter that specifies the radix:
bstr += '&#' + tstr.charCodeAt(i).toString(16) + ';';
However, why would you like to create hexadecimal numbers in that code? Character entities in html uses decimal numbers.
---
b { font-weight: normal; }
|
|
|
|
|
Guffa wrote: However, why would you like to create hexadecimal numbers in that code? Character entities in html uses decimal numbers.
It's perfectly fine to use hex too. And windows charmap utility uses hex Unicode codepoints, so putting the entities in hex helps to map back to charmap.
/\ |_ E X E GG
|
|
|
|
|
Right. I found a wikipedia article that said that it was decimal, and I looked at several lists of character entities without seing any hexadecimal. When you said that they could use hexadecimal, I made a specific seach on that, and found that you are right.
They are written differently, though:
bstr += '&#x' + tstr.charCodeAt(i).toString(16) + ';';
---
b { font-weight: normal; }
|
|
|
|
|
ok.. I'm not sure what to google for here, I think "referrer" info is what I'm looking for, but that just turns up a bunch of spam-related stuff... Anyway, I have an internal website and I want to track where people are coming from. Do I have to manually set the referrer info in the links I give out, or is that info tacked on automatically? And how could I recognize and use that info on my end?
Any links/suggestions?
~Nitron.
ññòòïðïðB A start
|
|
|
|
|
First and foremost, what stats are you looking to track? Just where the visitor came from?
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: what stats are you looking to track? Just where the visitor came from?
yeah, just where they came from. I want to guage where I get the most bang for my buck per-se.
~Nitron.
ññòòïðïðB A start
|
|
|
|
|
Well, you're right about the name. You don't need to do anything with the links, but rather to track people's origin, on the page you want to know where they came from (say an article) you'll need to read the HTTP_REFERER environment variable.
Depending on which web technology you use, there could be one of several ways to get it.
Jeremy Falcon
|
|
|
|
|
you could implement a stats-counter which will give you some nice reports. Eg. http://www.web-stat.com[^].
If you track it yourself you can pull out the host, search phrase etc. from the full URL.
"Nothing ever changes by staying the same." - David Brent (BBC's The Office) ~ ScrollingGrid: A cross-browser 2-way-scrolling freeze-header control for the ASP.NET DataGrid
|
|
|
|
|
If you're using IIS, you can record this info in the log files - you can choose what info in the properties of the website. Then you can just parse the logs.
HTH
----------------------------
Be excellent to each other
EasiReports[^] My free reporting component for WinForms.
|
|
|
|
|
|
IMO http://www.google.com/analytics/[^] is much better than statcounter.com and is completely free. I've used both and I like Google the best. Statcounter is free but you only get a small amount of logging. You can only go back like 100 page views unless you are willing to pay for more. Analytic's saves all your data forever and you can easily import the reports. Although if you are on an a secure intranet, you might have to use some other tracking software.
"Half this game is ninety percent mental." - Yogi Berra
If you can read thank a teacher, if you can read in English, thank a Marine.
M y and h don't work so well due to m addiction to caffeine and m in abilit to to set a cup down uprigt.
|
|
|
|
|
Looks like you need an invite code for google analytics - they're maxxed out for now. Bummer, I wanted to check it out.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
It's by invitation only for now. Thanks anyway, I'll wait.
|
|
|
|
|
Yep, by invitation only, but you have to request an invite. Mine took about 6 months, but a co-worker requested an invite a couple weeks ago, and he got his invite the next day.
"Half this game is ninety percent mental." - Yogi Berra
If you can read thank a teacher, if you can read in English, thank a Marine.
M y and h don't work so well due to m addiction to caffeine and m in abilit to to set a cup down uprigt.
|
|
|
|
|
Hi
I am using Atlas control toolkit and found this big problem with Drag panel.
I was trying to use the Drag Panel in one of my page which also contains some drop down lists. When I Drag the drag panel on the dropdownlist (I am using IE) I see the dropdownlist above the drag panel.
This behaviour is only taking place in IE and not in firefox. I do not know the real reason of this problem but this is making life difficult for me.
* Does any one know how to solve this problem?
* Can this be solved?
I wanted to use this feature in a new site which will be live in a few weeks.
http://vikram.qsh.eu/pages/blogdetail.aspx?blog_id=23
Thanks
Vikram
-- modified at 7:39 Friday 7th July, 2006
|
|
|
|