Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Contact us page popping up an error - But working perfectly. Please help
Old 03-21-2010, 11:20 AM Contact us page popping up an error - But working perfectly. Please help
Super Talker

Posts: 110
Trades: 0
Hey Guys,

Please help me out. We were re-designing a web page. When we tried to edit the contact us page its popping out an unwanted message. Actually there is no change except the design from the previous version (http://newgenresoft.com/contact.htm) both are working in the right way. But this popup is really confusing us. Why its not happening in the previous page? Nothing has been changed. We took the entire code (copy paste) to the new layout. Please help me avoid this popup(here is the new design with popup problem - http://newgenresoft.com/contact-us.htm)

Thanks for your time.

PS. Here is the error picture..

__________________

Please login or register to view this content. Registration is FREE
Bounce Back SEO & Power Documents
Please login or register to view this content. Registration is FREE


Free
Please login or register to view this content. Registration is FREE
!! Easy PR Ads
Please login or register to view this content. Registration is FREE
flek is offline
Reply With Quote
View Public Profile Visit flek's homepage!
 
 
Register now for full access!
Old 03-21-2010, 11:34 AM Re: Contact us page popping up an error - But working perfectly. Please help
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Its something to do with namer2.js

document.caption = null;
window.addEvent('load', function() {
var caption = new JCaption('img.caption')
document.caption = caption

Evidently it trying to load an image caption but failing.
});
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 03-21-2010, 11:40 AM Re: Contact us page popping up an error - But working perfectly. Please help
Super Talker

Posts: 110
Trades: 0
Quote:
Originally Posted by lynxus View Post
Its something to do with namer2.js

document.caption = null;
window.addEvent('load', function() {
var caption = new JCaption('img.caption')
document.caption = caption

Evidently it trying to load an image caption but failing.
});
hey expert, (let me call so, its surprising that you could find the issue so quickly.) I was expecting some errors with js files.. But these files are not associated with the contact form.. its for the top buttons.. How can I resolve this without harming the buttons.. thanks..
__________________

Please login or register to view this content. Registration is FREE
Bounce Back SEO & Power Documents
Please login or register to view this content. Registration is FREE


Free
Please login or register to view this content. Registration is FREE
!! Easy PR Ads
Please login or register to view this content. Registration is FREE
flek is offline
Reply With Quote
View Public Profile Visit flek's homepage!
 
Old 03-21-2010, 11:45 AM Re: Contact us page popping up an error - But working perfectly. Please help
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
I doubt its the form itself thats doing anything wrong.

Its something to do with that JS function.

Maybe check on your old page for img.caption or a field named img.
name the same thing on your new page . Or maybe just for ****s and giggles, remove the link to the namer2.js file on that page and see how it runs?
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 03-21-2010, 12:26 PM Re: Contact us page popping up an error - But working perfectly. Please help
Super Talker

Posts: 110
Trades: 0
Hello lynxus thank you very much for taking the time to solve it.. Actually the namer2 is not there in the old design. This is just with this new design. So I don't know how to avoid this issue. any way I'm trying to remove namer2 link from the new contact us page.
__________________

Please login or register to view this content. Registration is FREE
Bounce Back SEO & Power Documents
Please login or register to view this content. Registration is FREE


Free
Please login or register to view this content. Registration is FREE
!! Easy PR Ads
Please login or register to view this content. Registration is FREE
flek is offline
Reply With Quote
View Public Profile Visit flek's homepage!
 
Old 03-21-2010, 12:53 PM Re: Contact us page popping up an error - But working perfectly. Please help
Super Talker

Posts: 110
Trades: 0
It's working now.. I removed the namer2.. But now only I realized that the color change on the buttons were not working from the beginning. But as its not a big issue am leaving it..
__________________

Please login or register to view this content. Registration is FREE
Bounce Back SEO & Power Documents
Please login or register to view this content. Registration is FREE


Free
Please login or register to view this content. Registration is FREE
!! Easy PR Ads
Please login or register to view this content. Registration is FREE
flek is offline
Reply With Quote
View Public Profile Visit flek's homepage!
 
Old 03-21-2010, 01:32 PM Re: Contact us page popping up an error - But working perfectly. Please help
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
I would assume you needed to add an ID to the images that namer would refer to .

But if it works now then yay
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Reply     « Reply to Contact us page popping up an error - But working perfectly. Please help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24939 seconds with 12 queries