I have firefox 21.0. For some reason, it's not resizing html elements with Javascript. When I use getElementById, it ignores the changes I try to make.
I've tried resizing and repositioning the element with this code:
<pre><nowiki>widthPercentage = screen.availWidth / 800;
heightPercentage = (screen.availHeight / 600);
squareLeft = (124* widthPercentage);
squareTop = 202;
if (document.getElementById)
TEMPO = document.getElementById('SQUARE');
TEMPO.style.left = (124 * widthPercentage);
I've tried with this code:
squareTop = 202;
squareLeft = (124 * widthPercentage);
starterWidth = (495 * widthPercentage);
starterHeight = (99 * heightPercentage);
TEMPO = '<DIV ID="SQUARE" STYLE="position:absolute; left:squareLeft; top:squareTop; visibility:visible;">';
TEMPO += '<P>';
TEMPO += '<img name="screenTitle_box" ID="STARTER" src="ARTWORK/FRONT_SCREEN_TITLE_5.JPG" HEIGHT=starterHeight WIDTH=starterWidth>';
TEMPO += '</P>';
TEMPO += '</DIV>';
document.getElementById('SQUARE').innerHTML = TEMPO;
Neither way works. But the same code works in Internet Explorer.
Here's the element I'm trying to manipulate:
<DIV ID="SQUARE" STYLE="position:absolute; left:333px; top:10px; visibility:visible;">
<P>
<img name="screenTitle_box" ID="STARTER" src="ARTWORK/PICTURE_5.JPG" HEIGHT="150" WIDTH="900">
</P>
</DIV></nowiki></pre>
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
*http://forums.mozillazine.org/viewforum.php?f=25
The helpers at that forum are more knowledgeable about web development issues.<br>
You need to register at the MozillaZine forum site in order to post at that forum.
Similar Messages
-
For some reason I can not launch Dash board anymore. I have used Finder and it is not there. What can I co besides take computer into service?
1. It's possible you removed Dashboard from your Dock by mistake. In that case, you can find it in your Applications folder and drag it back to the Dock to create the alias. The entire Dock are aliases.
2. If you cannot find in your Applications folder you can try re-installing the Combo Update I linked to.
This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before. -
i tried to reinstall the smc from the list apple provides, http://support.apple.com/kb/HT1237 but the install says i dont need too wont even let me reinstall, yet the console has many smc errors,
i know my hardware is fine
ive tried removin any software that might affect the smc but this doesnt resolve the problem. and there are still smc errors in the console
PS dont want to go to apple store as its far away and im poor and dont want to get charged the earth for repairs or wipe my mac,it seems to happen more when idle also if thats any help
-
Please help me to get the wifi out of being dim so I can connect again.
This almost always means there is a hardware failure that requires replacing the phone. However, first try the suggestions in this support article:
iOS: Wi-Fi settings grayed out or dim -
I Am Having Trouble With Mozilla Firefox. For Some Reason I Can Not Type Any Thing In
I Am Having Trouble With Mozilla Firefox. For Some Reason I Can Not Type Any Thing In. I Can Not Type Anything Into Yahoo Search Or Any Where I Need A Password. Anytime I Try To Type Anythink In It Locks Up Firefox The Same With Thunderbird Can't Write An Email Thunderbird Locks Up When I Start Typing. My Roboform Will No Longer Fill In The Forms. I Have Uninstalled All Three Programs Three Times. Can You Give Any Help.
Thank YouHi,
Sounds like you have two problems there. One for Firefox and one for Thunderbird.
We can help you with the Firefox question but your other Thunderbird question will have to go into the Thunderbird queue. You can create a new Thunderbird question by going to [/questions/new/thunderbird]
Can you try to start Firefox in Safe Mode to see if Firefox works properly with no error? You can start Firefox in Safe Mode below:
*'''Windows/Mac''': Go to Help > Restart with add-ons disabled
*'''Linux''': Run ''firefox -safe-mode'' in the Terminal/Konsole
If Firefox opens up fine with no problems, it's probably one of your extensions that's causing the issue. You can re-enable your add-ons one by one until you find the one that causes the issue upon being re-enabled. -
I have an old iphone 3G that I want to use as an ipod touch. It does have a sim card in it and it has been reset. For some reason it will not pick up my wireless network in my house, or any other wireless network. What could be the problem?
Is this the problem:
iOS: Wi-Fi or Bluetooth settings grayed out or dim -
So I have an iphone and for some reason I don't know the password for my Apple ID so I can't download apps and I don't have the password to my email to change it and I don't know the secret questions , what can I do to make a new Apple ID ?
I have the same problem - it is maddening. I rely on this iPad for work so this is not just an annoyance! The above solutions of changing the appleid on the device or on the website do not work.
The old email address no longer exists - I haven't used it in a year probably and I no longer have the account. I logged into the appleid website and there is no trace of the old email address so there is nothing that can be deleted or changed there. On the iPad there is no trace of the old email address so nothing can be deleted there either. I have updated the iPad software and the same problem comes right back. Every 2 seconds I am asked to log in using the old non-existent email. The device is currently useless.
The only recent change to anything was the addition of an Apple TV device, which was set up using the correct login and password.
Does anyone have any ideas? The iPad has been backed up to the iCloud so presumably it now won't recognize the current iCloud account? So restoring may notbe an option? -
I have Windows 7 and for some reason I cannot install Adobe Type Manager onto my Computer. I need ATM to install the DIN font but am having no luck what so ever. I can see the DIN font in my Dropbox but it is showing up like this:- ._DIN-bold, no file file extension. what am I doing wrong? is it Mac?
(1) Adobe Type Manager (ATM) is not compatible with any version of Windows beyond Windows XP (32-bit, only). Attempting to install ATM on any newer version of Windows may actually disable Window's capability of rendering Type 1 and OpenType CFF fonts, requiring a reinstallation of Windows.
(2) There is no need to use ATM to install any fonts under Windows.
(3) The file name ._DIN-bold is indicative of a MacOS font. These fonts cannot be installed on Windows systems.
- Dov -
I have been backing up iMovie 08 files to my external drive, but for some reason I can't open these files in iMovie. I used drag and drop to copy them.
You really should be doing backups with an actual backup application, especially one that will work automatically, and, if your external HD is large enough, back up your entire system. These can automatically back up only what's changed since the previous backup, and some will keep "archive" copies of things you've changed or deleted, also.
Too many things can go wrong, such as your internal HD failing, and you'll have a major project to reinstall everything.
You already have Time Machine, built-in to OSX. You might want to review the Time Machine Tutorial, and perhaps browse Time Machine - Frequently Asked Questions.
#27 in the second link mentions some alternatives, too. -
For some reason I do not have a location bar on my browser and need to know how to get it back. Where or what do I click on?
Thanks.Thanks so much. I just have to become more familiar with Foxfire, but I really like it. Thanks again for the help.
-
hello everyone. I have recently installed a Samsung SSD (solid state hard drive) into my destop PC. For some reason Lightroom does not see it ? So i cannot ingest photos from it, or copy photos from a card to it. It is not listed as a drive option. LR sees every other drive. My computer sees it fine, so i was able to create a catalogue there. Im running windows 8.1. Any ideas ? I will also add that this drive became corrupt and was repaired by Samsung. Maybe they didn't do a very good job.. ..
Yes pretty much that, but to clarify sorry
Opened Lightroom.
Create new catalogue.
This opened the Windows 8 file explorer window and Windows recognises the drive. So I was able to create a catalogue there and save.
I then inserted my memory card into my card reader which LR recognised. I selected it, chose all the photos within and then navigated to the right side of the Lr import dialogue window to locate this problem drive as on this occasion i want the RAW files on the same drive as the lrcat. However all my other drives are listed but not this Samsung SSD.
In addition this Samsung SSD is not listed a drive to import from in the same dialogue window. -
I have a Macbook, an iPad 2, and an iPhone 4. I also have iCloud on all three devices. For some reason I can not get new information from my contacts folder to transfer to the iPad or the iPhone. Never been a problem before.
POP: yahoo, aol, comcast/time warnder/road runner
Imap: google, hotmail, and more including icloud.
If you want to use multiple devices - move to imap, I would even say "exchange", but Google does not support free exchange anymore, since January of that year. So Ironically Icloud or Hotmail would be my choices right now.
To find out more about what happens to you, search on Google "difference between pop and imap" -
I have an iPhone 4 and for some reason I'm not able to update the software. I go to Settings then General but it doesn't even have a Software Update option. Am I missing something?
With iOS 4, the only way to update your software is connected to iTunes. OTA (over the air) updates were not available until iOS 5. You will need to connect your iPhone to a computer and use iTunes to download and install the iOS updates on your iPhone (at least until your iOS version is 5.0 or higher).
-
I have two monthly scheduled iTunes allowances scheduled for my kids. For some reason they did not get transferred to their accounts this month.
@Dakotaep
I am so sorry to hear of your experience with purchasing your new Samsung Galaxy Note 3! This definitely should have been resolved in your first call to us. I would be glad to review your account and ensure the Edge Agreement is corrected. Please accept my "Follow" request and send me a direct message so I can further assist. Thanks!
AnthonyTa_VZW
Follow us on Twitter VZWSupport on Twitter. -
I purchased 8 songs on September the 18th, for some reason I am not able to dwnload on to my ipod. When I try I get a error that the songs cannot be found. Wha t can I do?
have a look at this support article.
Maybe you are looking for
-
Hi to all of you SAP experts I need to add a new field to an info-type (in the hr module). The field needs to have a value list (check table). I have two options, I can create a data element based on a standard domain and add the check table at the l
-
Curve 8900 won't view surveilence cameras correctly
Hi! I am a locksmith with Carl's Lock Shop in Co. Spgs, CO. We view a particular web site with our shop cameras in order to sell our services... The web site is www.videoalert.net You will automatically be re-directed to thier mobile site... should s
-
Is it possible to make a form field automatically link. For example, if i typed in a field: http:www.adobe.com I'd want it to create a link once submit
-
My Safari "quits unexpectedly" each time I try to start it on my new MacBook Air after I transferred it from my MacBook via migration from time machine backup disk.
-
Af:selectBooleanCheckbox needs to have a linebreak
Hello all, does anyone know how to linebreak a selectBooleanCheckbox ? i need to wrap "this is a quite long text that needs to be wrapped", otherwise it will ruin my layout i've played around with css and inlinestyles but no success greetings martin