472,354 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

Does not show special chractors like on page when i include thickbox script in html

245 100+
hey all,
When i include thickbox scrip tin html document then it does not show special characters like "". But wrote question mark in firefox mozilla and alian characters in IE. But without including thickbox it works fine. How can i fix that issue. Kindly help me out to sort my Problem
Mar 17 '09 #1
21 3702
Dormilich
8,658 Expert Mod 8TB
looks like a charset mismatch. make sure that the charset of your HTML and the thickbox script match.

if that's not possible, try htmlentities() on the text.
Mar 17 '09 #2
neovantage
245 100+
Thanks a lotttttttttttttttt. htmlentities() function works fine. You are amazing man. Of my every problem you always have a solution on hand. In our country people like you are called Theta. Thanks a lot again. May you live long
Mar 17 '09 #3
Dormilich
8,658 Expert Mod 8TB
I only happen to use , , and a lot.
Mar 17 '09 #4
neovantage
245 100+
Hey Dormilich,
Hope you are doing good. I am getting again an error while using thickbox in my script. In IE 6 when i scroll down the page then it is the facility provided by thickbox that the pop up window remain in the middle of the page even if the page is too long. But it give jerks whle scrolling long page up n down the main window and pop up window give jerks in IE 6. Is ther any way that i can fix that problem as it is working fine in firefox mozilla. Awaiting of your reply and hope i got the solution of my problem again this time from your end as i got always.
Mar 19 '09 #5
Dormilich
8,658 Expert Mod 8TB
sounds like a Javascript problem, post it there.
Mar 19 '09 #6
neovantage
245 100+
what should i post sir. Javascript file of thickbox here? or i mean i don't get you.
Mar 19 '09 #7
Dormilich
8,658 Expert Mod 8TB
probably the best is to describe the problem and post a link to the page where it occurs (or maybe you could PM a PHP Mod and ask him to split the thread at this question).
Mar 19 '09 #8
neovantage
245 100+
Sir this project is not live yet. but i am sending you the pages in detail through PM to you
Mar 19 '09 #9
Dormilich
8,658 Expert Mod 8TB
better post it in the Javascript forum.
Mar 20 '09 #10
neovantage
245 100+
Sir my page is live now
Here is the link of my Problem.
http://www.ewconsultinginc.com/devel...icesandern.php

Firstly it did not shows the special characters.
Secondly When i clicked on some link and it open a window by blurring the current page and when i close the open window the current page disappear the background image from header menu and footer menu. How can i fixed that?
Apr 1 '09 #11
Dormilich
8,658 Expert Mod 8TB
@neovantage
looks like a charset mismatch again. It depends where you get the text from and how it is stored there (i.e. with which encoding). htmlentities() doesn't work properly, if the passed string has the wrong encoding. debugging this may take some time*.

@neovantage
can't verify that on FF 3.0.8, I see no changes.

* in my application I ended up with replacing all non-ascii characters by numeric entities, because my live server also had problems with utf-8 (unlike the localhost)

PS: some of your link texts need spell correction

PPS: you can pass to htmlentities() the encoding of the string, though that only helps if the string is not already screwed up.
Apr 1 '09 #12
neovantage
245 100+
But sir it is working fine at my local server. i even changed the character set from utf-8 to iso-8859-1 even then it is working fine locally but remotely does not working.

Is there any fixation of this?
Apr 1 '09 #13
neovantage
245 100+
Secondly When i clicked on some link and it open a window by blurring the current page and when i close the open window the current page disappear the background image from header menu and footer menu.
Sir this is working fine in in FF version 2 and higher but does not working in IE6
Apr 1 '09 #14
Dormilich
8,658 Expert Mod 8TB
I've had exactly the same problem...

can't help with the IE issue due to not having any IE.
Apr 1 '09 #15
neovantage
245 100+
and Sir what about fixing special characters?
Apr 1 '09 #16
Dormilich
8,658 Expert Mod 8TB
@Dormilich
currently I'm looking how I did that exactly....
Apr 1 '09 #17
neovantage
245 100+
* in my application I ended up with replacing all non-ascii characters by numeric entities, because my live server also had problems with utf-8 (unlike the localhost).
How can i replace all non-ascii characters by numeric entities? Will ypu please guide me.
Apr 1 '09 #18
Dormilich
8,658 Expert Mod 8TB
have a look at the comments section of utf8_decode(), there are several ways described.
Apr 1 '09 #19
neovantage
245 100+
Thank you very much brother. It works........!
Apr 1 '09 #20
Dormilich
8,658 Expert Mod 8TB
I'm glad you got it working.

nevertheless, make sure to perform a spell check on the site before releasing.
Apr 1 '09 #21
neovantage
245 100+
Yes i will do that. Actually the client of the company gave us the existing website where we are working. Sir this is my portfolio
http://www.mohsinrafique.com

Please give some time to my personal website and give me comments/bugs/critic because they are very valuable for me. I need the experts guide like you are.
Apr 1 '09 #22

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
6
by: bayram guzer | last post by:
hi everybody, i have very strange error. i can not see some of the asp pages on my browser. when i look from view source, all the source is there but browser does not show anything, just an empty...
8
by: lawrence | last post by:
I'm learning Javascript. I downloaded a script for study. Please tell me how the variable "loop" can have scope in the first function when it is altered in the second function? It is not defined...
4
by: Wladimir Borsov | last post by:
Ok, think of let say 10 different web pages on the internet. Each of them are usual html web pages. Nothing special. What I want to do now is to create a new meta resp. grouping web page which...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
4
by: pavanip | last post by:
Hi, I want to popup aspx page using jquery. I have written the following code <a href="Contactus.aspx?TB_iframe=true&height=250&width=200" class="thickbox" >AboutUs</a> I have called...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
1
by: Sarvesh1989 | last post by:
I have one main div & in that main div i have included 2 differrent div it show good result in firefox but in ie it doesn't show that same result div just get one above the other.plz do help me. ...
6
by: neovantage | last post by:
Hey all, i have installed Uber uploader on my server. and it is working perfectly. It shows progress bar after submitting form. I want that when i upload an image or a file it shows the progress in...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made but the http to https rule only works for...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.