473,795 Members | 3,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Images in Accordion look like crap during runtime

Ty
I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

..BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty
Jun 27 '08 #1
3 1554
Ty
On Jun 27, 8:15*am, Ty <tbar...@lewist ownhospital.org wrote:
I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

.BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty
No one uses images in accordion control?
Jun 29 '08 #2
Assuming you're using asp.net for your project you should have posted in the
asp.net newsgroup, not the general one.

As for your question, you should be using lightweight image formats for the
images on your site. PNG and BMP image types can get quite large by
comparison to JPG or GIF image formats. JPG doesn't support transparency,
however the GIF image format does. Not to mention you might have problems
with machines connecting to the site that don't recognize the PNG format
making them unable to be rendered by the browser.

Convert the images to a GIF format and you shouldn't have any problems. I
imagine that in design mode your IDE is doing the rendering of the images,
however once you're running the site your browser is doing it.

HTH
- Jeff

"Ty" <tb*****@lewist ownhospital.org wrote in message
news:13******** *************** ***********@k37 g2000hsf.google groups.com...
>I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

.BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty
Jun 29 '08 #3
Ty
On Jun 29, 11:43*am, "Jeff Winn" <jw...@nospam.c omwrote:
Assuming you're using asp.net for your project you should have posted in the
asp.net newsgroup, not the general one.

As for your question, you should be using lightweight image formats for the
images on your site. PNG and BMP image types can get quite large by
comparison to JPG or GIF image formats. JPG doesn't support transparency,
however the GIF image format does. Not to mention you might have problems
with machines connecting to the site that don't recognize the PNG format
making them unable to be rendered by the browser.

Convert the images to a GIF format and you shouldn't have any problems. I
imagine that in design mode your IDE is doing the rendering of the images,
however once you're running the site your browser is doing it.

HTH
- Jeff

"Ty" <tbar...@lewist ownhospital.org wrote in message

news:13******** *************** ***********@k37 g2000hsf.google groups.com...
I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.
In design mode the images look great but as soon as I run the project
the images look like crap.
These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?
Anyone else having this issue.
.BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.
Thanks,
Ty- Hide quoted text -

- Show quoted text -
The problem turned out to be that the original images were large and I
had used a program to resize them. They looked great as long as I did
not use them in the accordion control. I downloaded the right sized
icons and they llok fine in the accordion control.

Thanks,
Ty
Jul 11 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1328
by: Dave | last post by:
Hi, I have an app that uses rollover images, but the images are still pulled from the web server during a mouseover instead of being pulled from memory. The code is as follows: the javascript: <script language="JavaScript"> function MM_findObj(n, d) {
0
4452
by: axxon | last post by:
hi, I am having a huge problem here! the scenario is i am trying to create dynamic accordion Panes to a accordion control inside a tab panel in a content page. It works just fine in a regular webform page which does not use a master page. but if i try to add dynamic accordion panes to a accordion inside a tab panel, it stops working. but I hav tested i can use static accordion panes jsut fine. here is my code: //////////// tab...
0
1342
by: gg | last post by:
Hi, I have a checkbox control inside an accordion. During the page load I am attempting to set the Checked attribute as follows... If Session("bolShortDesc") = True Then Me.chbxDescLength.Checked = True Else
4
1624
by: surja | last post by:
Hi, I have written a code to download images from a server end desktop, but while running the code ,WTK is showing a runtime error " Create image from Byte array Uncaught exception java/lang/IllegalArgumentException: ". I cannot detect the necessary change I have to make to run my code succesfully.Please anyone can help me to solve this code /code/ import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import...
2
2169
by: LayneMitch via WebmasterKB.com | last post by:
Greetings. I'm reading this book that is teaching me the more appropriate way of assigning functions. It has an 'accordian' example that when you click on a link, it expands into other options and when you click it again it 'collapses'. I understand the most of it, but there is just one part I don't understand. Here's the code.
8
2740
by: Tomasz J | last post by:
Hello developers, After migrating my web project application (using the old model) to .Net Framework 3.5 and Ajax Control Toolkit release 20820 the Accordion control no longer works correctly. In certain cases (only) it renders but is dead - does not initialize. Before the migration it worked, no changes have been made. Here is the complete scenario description:
3
5276
by: Allen Chen [MSFT] | last post by:
Hi Richard, Quote from Richard================================================== However I also want to be able to remove the panes. I have tried to include this, but find that when I first add the pane the remove event does not get handled, though thereafter it is handled without problems. ==================================================
6
2179
by: Andy B | last post by:
I am trying to use an accordion control from the ajax control toolkit for ..net3.5 sp1. When I put a link in one of the accordion pannel headerTemplates to open and close the content, I always get an "index of /" page that shows the files and folders in the folder the current page is in. The link looks like this: <a href="">Open/close test</aAny idea why this happens and how to fix it?
5
13383
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the website URL before the image URL.
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10163
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.