Problem in resizing

Hello all:
I have the following problem: I'm doing a web site for my
company based in resizing blocs, you can see it in the following
address:
http://www.grupodream.com/nuevaweb/inicio.html
To see the problem you have to go in "el grupo", then "Dream
Shop Co." and the "trabajos", until this point everything is fine,
but if I click twice in "trabajos", the second time doesn't work,
and if you go back again and click for a second time to "dream shop
co.", the the risezable blocs goes wrong.
I don't know why because I have the resize made for each
button, and is the following:
_global.c1Ancho = c1._width;
_global.c1Alto = c1._height;
_global.c1X = c1._x;
_global.c1Y = c1._y;
_global.c1vel = 8;
function c1Redimensionar(w, h, x1, y1) {
c1Ancho = w;
c1Alto = h;
c1X = x1;
c1Y = y1;
c1.onEnterFrame = function() {
this._width += (c1Ancho-this._width)/c1vel;
this._height += (c1Alto-this._height)/c1vel;
this._x += (c1X-this._x)/c1vel;
this._y += (c1Y-this._y)/c1vel;
c1_bt.onRelease = function() {
c1Redimensionar(450, 28,15 , 32);
c3Redimensionar(450, 260, 15,68);
c2Redimensionar(426,18, 28,76);
_root.cuRedimensionar(500, 340,226 , 190);
_root.reRedimensionar(500, 340,226 , 190);
I've have made the same script than above for each block and
for each button, so I don't know wahy it only work for the first
time, and why it doesn't load the swf as it does at the first
click.
I hope you can help me.
Thanx,
Cristina

The map doesn't convert the width to pixels. It only returns pixels if you ask for it's width. Here is an example of a full screen map that resizes as you resize the browser:
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=de-de"></script>
<script type="text/javascript">
var map;
function GetMap()
map = new Microsoft.Maps.Map(document.getElementById("myMap"), {
credentials: "YOUR_BING_MAPS_KEY"
</script>
<style>
html, body {
width:100%;
height:100%;
margin:0;
padding:0;
</style>
</head>
<body onload="GetMap();">
<div id='myMap' style=";width:100%;height:100%;"></div>
</body>
</html>
http://rbrundritt.wordpress.com

Similar Messages

  • Problem in resizable 2 matrix in own form

    I want to design a form with exactly like <b>journal voucher</b>
    so it has 2 matrix object (upper and below)
    here's my code
    Set oFormPOS = SBO_Application.Forms.Add("formPointOfSales", ft_Sizable, -11)
        '// set the form properties
        oFormPOS.Title = "Form Point of Sales"
        oFormPOS.Left = 300
        oFormPOS.Width = 520
        oFormPOS.Top = 100
        oFormPOS.Height = 500
        oFormPOS.AutoManaged = False
        Set oItem = oFormPOS.Items.Add("PMatrix1", it_MATRIX)
        oItem.Left = 20
        oItem.Width = 485
        oItem.Top = 25
        oItem.Height = 160
        Set oPOS.oMatrix = oItem.Specific
        Set oPOS.oColumns = oPOS.oMatrix.Columns
        Set oItem = oFormPOS.Items.Add("PMatrix2", it_MATRIX)
        oItem.Left = 20
        oItem.Width = 485
        oItem.Top = 300
        oItem.Height = 170
        Set oPOS.oMatrix2 = oItem.Specific
        Set oPOS.oColumns2 = oPOS.oMatrix2.Columns
    but when I resize down my form, <b>the matrix followed my resize and increasing the height automatically and stacking with another matrix</b>.
    even though I set AutoManaged = False, it still resize automatically , and make my form  
    screw up
    Please anyone help me to solve this problem
    I want my form to exactly like journal voucher (doesn't has a problem with resize)
    Thanks

    Hi Rasmus Thanks for the answer
    and what do you mean by catch the form resize event ?
    about my code what is the use of Automanaged = false, I didn't feel any different
    I thought Automanaged = false will make my matrix not resize automatically,but it didn't
    if i can change my matrix not resize automatically, I think i will change my code to these code, and I hope will auto arrange the position of my matrix
    Set oItem = oFormPOS.Items.Add("PMatrix1", it_MATRIX)
        oItem.Left = 20
        oItem.Width = 485
        oItem.Top = oFormPos.Top + 10
        oItem.Height = (oFormPos.height/2) - 30
        Set oPOS.oMatrix = oItem.Specific
        Set oPOS.oColumns = oPOS.oMatrix.Columns
        Set oItem = oFormPOS.Items.Add("PMatrix2", it_MATRIX)
        oItem.Left = 20
        oItem.Width = 485
        oItem.Top = (oFormPos.Height/2) + 10
        oItem.Height = (oFormPos.Height/2) - 50
        Set oPOS.oMatrix2 = oItem.Specific
        Set oPOS.oColumns2 = oPOS.oMatrix2.Columns
    but I don't know how to disable the resize of the matrix automatically
    so Rasmus beside what is the form resize event, do you know the use of automanaged ?
    Thanks

  • Facing Problem in  resizing datafile

    Hi i m facing problem in resizing a datafile of size 2.5 gb, i infact import data of 2gb in this file then reorganize data in different tablespace now the used size of this datafile is 96mb , when i issue command to reduce it to 200mb it gives me error that data exist u cannot resize datafile,
    tell me what should be done to resize it.
    thanks

    Hi,
    You can create a working tablespace with a good size
    CREATE TABLESPACE tbs_tmp
    DATAFILE 'D:\Oracle\oradata\SID\file_tmp.dbf' SIZE 100M
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K;
    And move all segments from your tablespace TBS1 into this new tbs
    (select segment_name,segment_type from dba_segments where tablespace_name = 'TBS1')
    If indexes :
    alter index owner.index_name rebuild tablespace tbs_tmp;
    If table :
    alter table owner.table_name move tablespace tbs_tmp;
    Ensure that the tablespace TBS1 is empty
    select segment_name,segment_type from dba_segments where tablespace_name = 'TBS1'
    After what, if no row return, you can drop your first tablespace,
    DROP TABLESPACE tbs1 INCLUDING CONTENTS CASCADE CONSTRAINTS;
    recreate it with a goos size,
    CREATE TABLESPACE tbs1
    DATAFILE 'D:\Oracle\oradata\SID\file_tbs1.dbf' SIZE 100M
    EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K;
    and move all segment from tbs_tmp into this new tbs1
    (select segment_name,segment_type from dba_segments where tablespace_name = 'TBS_TMP')
    If indexes :
    alter index owner.index_name rebuild tablespace tbs1;
    If table :
    alter table owner.table_name move tablespace tbs1;
    Ensure that the tablespace TBS1 is empty
    select segment_name,segment_type from dba_segments where tablespace_name = 'TBS_TMP'
    If no row return, drop the working tablespace
    DROP TABLESPACE tbs_tmp INCLUDING CONTENTS CASCADE CONSTRAINTS;
    Nicolas.

  • Problem while resizing datafiles..

    Hi Experts,
    Im facing problems while resizing my datafiles. I am using Oracle 10g on Windows 2003 server.
    I had a datafile of size 20GB.
    I have 3 schemas sch1, sch2,sch3 and all have objects.
    I dropped sch1 and truncated some tables in sch2.
    I found the freespace available in my datafile 16GB.
    When I try to resize the datafile to 5GB, I am getting ora-03297 error.
    I checked for object that are beyond 5GB using the follwing query.
    I found sch3 objects are present beyond 5GB mark on that datafile.
    How can I resize the datafile to 5GB??
    Is there any other way to resize the datafile?? Please help me.
    SELECT owner, segment_name, segment_type, tablespace_name, file_id,
    ((block_id+1)*(SELECT value FROM v$parameter
    WHERE UPPER(name)='DB_BLOCK_SIZE')+BYTES) end_of_extent_is_at_this_byte
    FROM dba_extents
    WHERE ((block_id+1)*(SELECT value FROM v$parameter
    WHERE UPPER(name)='DB_BLOCK_SIZE')+BYTES) > (<needed size in MB>*1024*
    1024)
    AND tablespace_name='<tablespace_name>'
    ORDER BY file_id, end_of_extent_is_at_this_byte;
    Thanks in advance.

    take a look at the metalink docs...probably coz of high water marks u r not able to do that..
    Note 130866.1 - How to Resolve ORA-03297 When Resizing a Datafile by Finding the Table Highwatermark     
    Note 237654.1 - Resizing a Datafile Returns Error ORA-03297

  • Problem with resizing the new Pages window

    I can't get my Pages Window any smaller, it says (if I use Window Tidy for example) that the window size was restricted.
    With the old Pages I used to have two Pages-windows open right next to each other, so I coul work on two documents at the same time. Now that i can't resize them anymore (only making them bigger is possible) they don't fit on the screen anymore.
    Anyone having the same problem, maybe even a solution?
    Thanks a lot in advance!

    Posting here is only talking to fellow users.
    Dump Pages 5 and go back to Pages '09, then give proper feedback on either Apple's website or the App Store.
    The App Store is probably the best place as it is public and a bad review has more impact than private entreaties to Apple.
    Peter

  • Problem after resizing photo image in premiere timeline

    Hello,
    I am editing a wedding video and just wanted to add a few photo's to fill in some gaps in my timeline. I converted my jpeg to a psd file and was able to import it into my premiere timeline, I was also able to resize to fit the time line. My problem is after I resized it I have a like black background on either side of the still photo I wanted to add. I don't know how to get rid of it so that just my photo is shown in the timeline. can anyone help.
    Thank You A beginner at adobe premiere
    DJ Sinbad.

    Wrong forum buddy, try here...

  • Split pane - problem with resize

    I have problem with splitPane. I can't resize panels using splitpane and i dont know why :(
    Here is my program: https://rapidshare.com/files/4139244909/inzynier.rar
    Any ideas, what i am doing wrong?
    Another problem is: When i try build this project i geting warinings :
    warning: No SupportedSourceVersion annotation found on org.jdesktop.beans.JavaBeanProcessor, returning RELEASE_6.
    warning: Supported source version 'RELEASE_6' from annotation processor 'org.jdesktop.beans.JavaBeanProcessor' less than -source '1.7'
    2 warnings
    ;/

    Seeing that your file has a size of 3.5 Mb, I preferred not to download it, but to send you this link.

  • Problem when resizing round objects

    Hello,
    I encounter a problem with scaling down round objects.
    Here's the issue in a nutshell:
    As you see when I scale down a cirle from size A to size B, the top and left sides of the circle B are flat.
    Why does this happen and how to avoid it? It is really frustraiting when working with small objects.
    Cheers.

    Howdy.
    The flat spots on the small circles is caused by anti-aliasing an improper alignment with the pixel grid when the circle is resized. You will see it most often when resizing a shape with an odd number of pixels. You an see below that the center of the circle is forced off the pixel grid, and the anti-aliasing is off.
    Here it is actual size.
    What to do?
    Before you accept the transformation, move the circle until center point of the circle is on the pixel grid. Use the arrow key to move it around. Experiment. Move the center of the circle to different off grid locations before accepting the transform. You  will see all sorts of anti-aliasing permutations. Choose one that's  symmetric.The center point should be on the grid. Then the anti-aliasing should be symmetric. When the transformation is  applied, the anti-aliasing is baked in, and you can move the circle back to its original position if you need to.
    As Paulo and Noel have noted, the quality of the anti-aliasing of the original circle will become apparent when it is downsized to web icon size. Any asymmetry in the original may not be noticable at normal size, as it will only involve one or two rows of pixels at the perimeter of the circle. A small percentage of assymetry on a 300px circle. When the circle is downsized to 10 pixels, the asymmetry still affects one or two rows of pixels. And the circle goes pear shaped  because the assymmetry could be as much as 10%. My guess is that the OP is working with some images that are a little out of whack to start with.
    There's a lot more to this, but this might help.
    Peace,
    Lee

  • Problem with resizing canvas

    PSE 8, Windows XP
    Attempting to resize the canvas I entire a width and a lenght. I leave the position square in the middle. I click OK. The canvas extension appears only at the bottom of the photo, not all around as it does in PSE 3. I tried relative. Same result, just new canvas at the bottom. I checked Barbara Brundage's book and it should work the same as it does in PSE 3 but doesn't. I also went to PSE "Learn more about canvas size". It also shows that my canvas extensions should show all around. It also suggests that I should be able to choose a background color, but that option is grayed out for me.
    I know I can just do what I want to do using PSE 3 which I kept on my computer for emergencies just like this, but I would like to solve the problem.
    Can anyone tell me what I'm doing wrong?
    Thanks. Eva

    Eva,
    Works fine in my PSE8 on Win XP. I see the following options (sorry, I only have a German version available):
    The image centers just fine. Are you sure you're seing the entire image (ctrl-0)? What's the image format you're working on (PSD, JPG, 8-Bit, 16-Bit)?
    Beat Gossweiler
    Switzerland

  • Problem to resize images

    Photoshop Elements 8.0
    iMac OSX 10.8.3 32 with GB memory
    1) PE see only 2010 MB RAM
    I understand this is limit in PE, is that correct? Will latest version of PE support more RAM?
    2) I cannot rezise images. It does not function: If I change "with" and/or "Hight" the "resolution" is modified as well. Saving the image shows the image as it was before trying to resize it.
    Also "Document size" does not show "pixels".
    I cannot de-select "constrain proportions" (or the other boxes).
    In general "resize does not function.
    I used PE on my previeus iMac - no problems there.
    I uninstalled it, and downloaded (PE 8) for my new iMac - but it does not work (as explained).
    Any suggestion?

    1. No, all versions of PSE are 32 bit applications and that's just how 32 bit applications are.
    2. If you want to change the pixel dimensions you must first turn on the Resample Image checkbox. Same for constrain porportions, since either of these involves changing the number of pixels in your image. It is usually a very bad idea to attempt to reshape an image by turning off constrain proportions. It will give you a distorted image, not a cropped one. Use the crop tool to crop.

  • Problems with resizable container

    Hi,
    I have a resizable JPanel with cubes inside it.
    The problem is when I resize the JPanel the cubes inside it gets resized only after I move the borders of the JPanel ~14 pixels...
    The problem is in the X axis...
    The Y axis "jumps" every ~5 pixels...
    I need content of the JPanel also to resize every 1 pixel (so it would be on the borders of the JPanel)...
    Any Ideas?

    I guess that the only solution is NOT to use gridLayoutWell that would explain the behaviour. It would have been nice if that information was included in the original question. Thats why I always ask for a SSCCE, since you never no what information is importan or not.
    All components in a GridLayout have the same size. So if you have a Grid with 10 component that is 400 pixels wide each component will be 40 pixels wide. As suggested above the size of each component will only be adjusted when you incread the width by 10 or more (since you have 10 components in each row).
    Doing it manually would also be a pain. If you increase the width by 1 pixel you would only be able to increase the size of one component. Then if you increase it by one pixel again you can only change one component, so do you change the first one again or the second. So now you need an algorithm to determine which component gets the extra space.
    I need content of the JPanel also to resize every 1 pixel (so it would be on the borders of the JPanel)...Don't know exactly what your layout is like, but maybe you could center the panel in the frame. That way as you change the size the "border" will change on both sides and it may not look as bad.
    You can try using a BoxLayout. Components will grow as the size is increased but I think you might have problems with the first components always growing first.

  • Problems with resizing video

    I have a video which I would like to be able to play on my HTC Hero smartphone. The video size is 480 x 272 pixels. According to my friend, I have to resize it to fit in my smartphone device resolution, which is 3.2-inch TFT-LCD touch-sensitive screen with 320x480 HVGA resolution. However, I installed QuickTime Pro 7. I tried to resize it under Inspector Movies Property and I get an error saying that the timecode is invalid or something like that. I also noticed the file size would be in kilobytes than in megabytes. I tried extracting the video and editing from there but that did not work.
    The problem is when I tried to play it on my smartphone, I cannot get the picture, I get a blank green coloured screen. The audio track work fine.
    Message was edited by: Mitochondrion

    Jon Walker wrote:
    I have both Flip4Mac WMV and Perian installed. I do not have DIVX installed. You want me to convert the video? If so, which format? Alright then, I will send you a sample of the video.
    If you have one of the "Studio" ($49 or more) level versions of Flip4Mac installed, I would recommend a WMV conversion since it is very standardized and specifically mentioned as being supported by your device. (Even if you only have the free player installed, you should be able to make up to a 30-second "demo" conversion for testing purposes.) Converting to Perian AVI could be iffy but your could try an MPEG4, H264, or H264 video with AAC, MP3, or WAV audio. (Official AVI support was dropped by originator a decade ago but Windows seem unwilling to "move on" to more modern file types.) The mere fact that WMV support is specifically mentioned leads me to think the multimedia player may be more "Windows" based than Mac based. Let us know how your test turns out as this may be an issue for other Mac users of this device.
    I only have the free player and I am not very keen on paying $49 or more for these softwares. It is far fetch for me. I will make an attempt to try to convert the video and see what happen.
    Erm...How do I do this? I had a look in System Preferences.
    Message was edited by: Mitochondrion

  • Problems with resizing a JFrame

    Hello people! I'm having a problem setting the size of a JFrame while it is visible. Just resizing it by hand with the mouse is no problems, everything works ok, but when I call the setSize(blabla) method, the contents of the window doesn't notice that it has more space to draw the components on. The result is that the extended area of the window is just plainly white... until I resize it by hand, then everything looks ok. Does anyone have a solution? repaint() doesn't help...
    /Erik

    hay svenmeier...
    I'm all confused with the pack() method... I don't like it :) It always sets the size 2 pixels too large in windows 9x/Nt/2k/xp. Of course that's adjustable, but I'm unsure whether it will be the same on all other platforms. It's just one problem that I have that I have never been able to solve. Asking people around here for a solution never helped, because it seems others do not have this particular problem.
    So, to me it seems that the most reliable way to set the size of a frame is to first set it visible, and then resize it with respect to the insets.
    /Erik

  • Problem to resize partition in HP Pavilion G4-1220

    Dear HP
    i bought a new laptop HP Pavilion G4-1220ee with Win 7 Home Basic - 64Bit-and i need to resize Partition C: to split it for 2 partiton and i tried to make by using many tutorials from Youtube.com but there is an error message appears to me at the last step and i can't shrink this partition.
    please try to replay to me in near time because i need to solve this problem in near time and my mail is
    {Personal Information Removed}
    Country :- Egypt
    Regards
    Ameen 

    Hi,
    Unfortunately no option for you to increase VRAM. System will work this out and allocate AVAILABLE RAM for VRAM up to max number if required.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • *Edit* Problems when resize a module

    Hi.
    I have a problem when i am resizing a module in my
    application.
    When it become bigger than 90% of the screen then everything
    inside the module disappears. And i need to restart the
    application.
    I load the module with ModuleLoader and then add the module
    to MDIWindow.
    I have a eventListener that is lisining för
    Event.REMOVED_FROM_STAGE and then it will close the window and
    unload the module.
    When i am resize the window it some how dispatch
    REMOVED_FROM_STAGE event.
    What can i use instend?
    Any one have the tips how i can fix this?

    Hi,
    Try to get some more error info, e.g. like this:
    try {
    Z_Bupa_Search_By_User_Input searchByUser =
    new Z_Bupa_Search_By_User_Input(); "PROGRAM STOPS HERE
    } catch (Exception e) {
        msg.raiseException(e.getMessage(), true);
    msg.reportSuccess("<<<------"); "THIS LINE DOES NOT
    good luck,
    Roelof

Maybe you are looking for

  • Setting up a WD Passport external HD

    This may be intuitive for many of you but not for me.  I just bought a 2TB Western Digital external hard drive.  I've plugged it into the computer and and transferred the utility and security files.  I've opened the WD Drive Utilities icon and run th

  • Serializing objects with the NIO API

    I try to use the new IO API to implement a non-blocking multi-threaded server that communicates with client applications by exchanging serialized objects. I started from the code in the JavaWorld article at http://www.javaworld.com/javaworld/jw-09-20

  • Trying to transfer project from imovie to idvd but keep getting error message - imovie quit unexpectedly

    I have created a dvd slideshow using iMovie.  Project is completed with music and now I want to be able to share using a dvd.  I can't transfer to idvd, imovie keeps shutting down when I try to transfer.  Any thoughts of how to handle?

  • N95 always "on" in the car ?

    Hi all, How to I change my N95 to be always on ( no screen saver and screen lighted ) when connected to a wireless car kit installation ( bluetooth )? The rebuild Cark-91 works excellent and N95 confirm -car installation- by a sign on the screen. Not

  • Process message not showing in Interactive Report

    I created a process (on subit after validations) in a interactive report that is run from a button in my region. The process inserts records into the database. The process runs fine and inserts the data, but I do not get any message when its done. I