Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Javascript Buttons Dissapear when Clicked
Previous Previous
 
Next Next
New Post 3/31/2008 11:23 AM
User is offline ajsansone
187 posts
www.graphicsphere.net/
9th Ranked


Javascript Buttons Dissapear when Clicked 

Hi everybody,

I'm trying to find out if there is a way to force the javascript buttons in my skin to not dissapear when clicked. The buttons seem to work fine when I hover over the buttons and also when I mouse out of the buttons. But when I click the buttons the image disappears. If you want to try my skin out you can download it at http://sansone.no-ip.biz/graphicsphere.zip or view it live at http://www.graphicsphere.net/

Thanks for your help,
AJ Sansone, President
Graphicsphere.Net


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
New Post 3/31/2008 1:53 PM
User is offline keeperofstars
252 posts
9th Ranked


Re: Javascript Buttons Dissapear when Clicked 

Well, it works fine in firefox, but firefox is a bit more forgiving on syntax. IE is the only browser I see an issue come up. I would check all your code around the onclick event for the buttons and make sure there are no issues with the "down" image call. Also note your running in quirks mode. (DNN causes quirks mode by default) This means IE will rely on how it wants to display your code vs what standards are. This can be a bit of an issue when rendering javascript based images. You should probably force it into standards mode. Do a quick search on the forums here for how to do it. If you have a hard time just let me know and I will repost how to.

On a side note any reason for javascript based buttons / links? Why not flash buttons or even standard links with image properties set?

 
New Post 3/31/2008 7:58 PM
User is offline ajsansone
187 posts
www.graphicsphere.net/
9th Ranked


Re: Javascript Buttons Dissapear when Clicked 

I FOLLOWED DNNCREATIVE.COM'S METHOD TO CHANGE FROM QUIRK'S MODE TO STANDARDS MODE AND STILL THE JAVASCRIPT BUTTONS ARE DISAPPEARING AFTER CLICKING THEM.

HERE'S THE INSTRUCTIONS I FOLLOWED AND STILL GET THE SAME RESULTS http://www.dnncreative.com/tabid/231/Default.aspx

IN THE TUTORIAL IT SAYS, "THE ONLY PAGE YOU CHANGE THE MODE IN IS THE DEFAULT.ASPX FILE LOCATED IN THE ROOT DIRECTORY. WHAT ABOUT THE SKIN'S ASCX FILE? 


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
New Post 4/1/2008 7:04 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: Javascript Buttons Dissapear when Clicked 

If you are using DNN 4.4+ I suggest using the .doctype.xml option for forcing standards mode. Basically all you do is name a file: skinname.doctype.xml and inside it put the doctype declaration. This way its independant to the skin. Making the changes to the default.aspx should work as well but I personally have had issues / times when I couldn't get it to work as expected with my 4.4+ installations.

Not saying it will fix your problem but could help I really think the issue is around the syntax. Mainly cause it renders fine in firefox. I don't know enough javascript though to be of much help. On that deparment though.

 
New Post 4/2/2008 10:17 AM
User is offline ajsansone
187 posts
www.graphicsphere.net/
9th Ranked


Internet Explorer Mobile's images loading problems. 

Ok I got rid of my javascript buttons because they were causing dnn to load slowly and they kept dissapearing after clicking them so now I would like to add a .doctype.xml file to my skin's folder so that dnn switches into standards mode.

Where do I upload the .doctype.xml file? In the root directory or the skin's root directory? Also what is the suggested HTML Validation type for dnn? When I browse my website in INTERNET EXPLORER MOBILE none of my images and stylesheets load correctly. Is this because of the HTML validation setting?


Anthony John Sansone
Graphicsphere.Net, President
Palm Harbor, Florida, U.S.A.
http://www.graphicsphere.net
View Anthony J. Sansone's profile on LinkedIn
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Javascript Buttons Dissapear when Clicked
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP