Hi this is just css to fix

<style>
.tabContentTabs a {
background:none repeat scroll 0 0 #94BBD5;
color:#FFFFFF;
display:block;
font-size:11px;
font-weight:bold;
padding:4px 22px;
text-decoration:none;
.tabContentTabs a:visited {
background:none repeat scroll 0 0 #94BBD5;
.tabContentTabs a:hover {
background:none repeat scroll 0 0 #8EA4BE;
.tabContentTabs a:active {
background:none repeat scroll 0 0 #DBEAF5;
</style>
<script>
   function showonlyone(thechosenone) {
      var newboxes = document.getElementsByTagName("div");
            for(var x=0; x<newboxes.length; x++) {
                  name = newboxes[x].getAttribute("name");
                  if (name == 'newboxes') {
                        if (newboxes[x].id == thechosenone) {
                        newboxes[x].style.display = 'block';
                  else {
                        newboxes[x].style.display = 'none';
</script>
<table >
   <tr>
      <td>
         <div  class="tabContentTabs">
         <a   href="javascript:showonlyone('newboxes1');">Select 1st Form</a>                    
         </div>   
      </td>
      <td>
         <div class="tabContentTabs">
            <a  href="javascript:showonlyone('newboxes2');">Select 2nd Form</a>           
         </div>    
      </td>     
   </tr>
</table>
<div name="newboxes" id="newboxes1" style=" display: none;"> Hi this is 1st Form</div>
<div name="newboxes" id="newboxes2" style=" display: block;"> Hi this is 2nd Form </div>   
tha code above has two tabs in which second tab is default to show first , but i need to shade the second tab when it loads as it is default one and when u click on first tab it has to be shaded to show difference to users.
this is not working properly in Mozilla and IE
i need some suggestions to fix this.
Thanks.

You should really look into using jQuery or even CF's tab capabilities. It makes this stuff much easier. But to answer your question, you'll want to add an "activeTab" class. I'm pasting the entire thing, but the parts that changed are a new "activeTab" style, a few extra lines in the javascript, id attributes to the divs that are the tabs, and also setting the activeTab class on the default tab (tab 2).
Again, I would urge you to try either jQuery UI elements or the CF built in stuff (if on CF 8 or later). The table based tabs you have are going to get complicated the further you go.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<style>
.tabContentTabs a {
background:none repeat scroll 0 0 #94BBD5;
color:#FFFFFF;
display:block;
font-size:11px;
font-weight:bold;
padding:4px 22px;
text-decoration:none;
.tabContentTabs a:visited {
background:none repeat scroll 0 0 #94BBD5;
.tabContentTabs a:hover {
background:none repeat scroll 0 0 #8EA4BE;
.tabContentTabs a:active {
background:none repeat scroll 0 0 #DBEAF5;
.activeTab {
    border: 1px solid #900;
</style>
<script>
   function showonlyone(thechosenone) {
      var newboxes = document.getElementsByTagName("div");
            for(var x=0; x<newboxes.length; x++) {
                  name = newboxes[x].getAttribute("name");
                  if (name == 'newboxes') {
                        if (newboxes[x].id == thechosenone) {
                        newboxes[x].style.display = 'block';
                        var tabEl = document.getElementById(thechosenone + '_tab');
                        tabEl.className = 'tabContentTabs activeTab';
                  else {
                        newboxes[x].style.display = 'none';
                        var thisboxid = newboxes[x].id;
                        var tabEl = document.getElementById(thisboxid + '_tab');
                        tabEl.className = 'tabContentTabs';
</script>
<body>
<table >
   <tr>
      <td>
         <div  class="tabContentTabs" id="newboxes1_tab">
         <a   href="javascript:showonlyone('newboxes1');">Select 1st Form</a>                   
         </div>  
      </td>
      <td>
         <div class="tabContentTabs activeTab" id="newboxes2_tab">
            <a  href="javascript:showonlyone('newboxes2');">Select 2nd Form</a>          
         </div>   
      </td>    
   </tr>
</table>
<div name="newboxes" id="newboxes1" style=" display: none;"> Hi this is 1st Form</div>
<div name="newboxes" id="newboxes2" style=" display: block;"> Hi this is 2nd Form </div>   
</body>
</html>

Similar Messages

  • I can no longer get video to work on FireFox and this happened just after my update to version 13. Is there a way to fix this?

    I went and downloaded FF13.0 and now I can no longer view video. At first I was able to view flash, mp4, etc video, then I went to see about updating Real Player and then every stopped working. I at first thought this was just a problem with FF13, but after trying also Internet Explorer I found the same problem. Is there any way pf fixing this problem?

    Recent crashes of certain multimedia contents (this includes Youtube videos, certain flash games and other applications) in conjunction with Firefox 13 are most probably caused by a recent Flash 11.3 update and/or a malfunctioning Real Player browser plugin.
    In order to remedy the problem, please perform the steps mentioned in these Knowledge Base articles:
    [[Flash Plugin - Keep it up to date and troubleshoot problems]]
    [[Flash 11.3 crashes]]
    [[Flash 11.3 doesn't load video in Firefox]]
    Other, more technical information about these issues can be found under these Links:
    http://forums.adobe.com/thread/1018071?tstart=0
    http://blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox.html
    Please tell us if this helped!

  • I just updated my iphone to IOS 7 and cannot get my imessage to work, it keeps saying "waiting for activation" nothing i have read online has helped me try to fix the problem. why is it doing this and how can i fix it?

    I just updated my iphone to IOS 7 and cannot get my imessage to work, it keeps saying "waiting for activation" nothing i have read online has helped me try to fix the problem. why is it doing this and how can i fix it?

    Here's a good troubleshooting article about imessage "waiting for activation".
    http://support.apple.com/kb/TS4268

  • TS4291 I can't send mail from my iPad apps, I just get the error message, 'The recipient- was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    I can't send mail from my iPad apps, I just get the error message, 'The recipient… was rejected by the server because it does not allow relaying.' Does anyone know what this means and how to fix the problem.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • TS3367 I don't want to update and even if i did, i don't have enough memory. I use facetime a lot so is this problem going to be fixed or just ignored??

    We've been told to update to fix the facetime problem. But the update changes the phone completely which i don't want. Plus i don't have the memory. So are you going to fix this or just take the easy route by telling people to update???!!!

    I don't work for Apple, so I cannot commend.
    Send your feedback here
    http://www.apple.com/feedback/iphone.html

  • I just purchased the 4S and am having trouble with it at least once a day says Invalid Sim, what would cause this and how do I fix it

    I just purchased the I 4S and at least once a day, it will say Invalid Sim, what would cause this and how do I fix it?

    Then, if there's any data on the drive that you want to keep, you have to back up before you do anything else -- assuming it's still possible.
    Basically you have three options:
    1. Install a copy of the Mac OS on an external hard drive, boot from it, and copy the data from the internal drive.
    2. Start the problem Mac in FireWire target mode (command-T at startup) and connect it to a working Mac with a FireWire cable. The internal drive will mount as a FireWire device.
    3. Remove the internal drive and mount in an external enclosure on another Mac.
    Once you've backed up, follow the sequence in the support article linked below. The article is somewhat outdated. Where it refers to booting from an installation disc, you should boot from your recovery partition (if running Lion) by holding down the key combination command-R at the chime.
    Mac OS X: Gray screen appears during startup

  • Css position:fixed works on mozilla 21/IE10 but not in chrome ?

    Hello guys,
         I want to stick in position  a rectangle or photo while scrolling browser.
    I am using    sym.$("Rectangle3").css({"position":"fixed"});
    This works fine in Mozilla and IE10 but not in chrome (Version 27.0.1453.116 m)
    Anyone to help please?
    Thanks in advance.
    Anthony

    Antony,
    I will defer to what Sarah said.
    In the future if you needed to add browser prefixes to correct differences which happen for a number of things like transform or shapes, etc..
    Or course this will not correct a bug which I was not aware of in this particular case.
    Here is how to add browser prefixes:
    In this case to make an ellipse a circle because chrome did not recognize the ellipse. I added Opera prefix to show you the syntax.
    sym.$('Ellipse').css({
              '-webkit-border-radius': '50%',
              '-o-border-radius': '50%',
              'border-radius': '50%',
              'width': '35px',
              'height': '35px'
    Sometime the syntax is a little different. Just google the css to make sure.
    Here is another example for a Star Wars intro where I added browser prefixes for Explorer (-ms-), Chrome (-webkit-), and Firefox(-moz-).
    The code can be combined but I did not this time for this sample.
    Sample files here:
    https://www.box.com/s/bdu5c4lq67fkfy7blfhc
    // FF
    sym.$('gradient').css('background', '-moz-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%)');
    sym.$('container').css('-moz-transform-origin', '50% 100%');
    sym.$('container').css('-moz-transform', 'perspective(250px) rotateX(25deg)');
    // Chrome and others
    sym.$('gradient').css('background', '-webkit-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%)');
    sym.$('container').css('-webkit-transform-origin', '50% 100%');
    sym.$('container').css('-webkit-transform', 'perspective(250px) rotateX(25deg)');
    // Internet Explorer
    sym.$('gradient').css('background', '-ms-linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%)');
    sym.$('container').css('-ms-transform-origin', '50% 100%');
    sym.$('container').css('-ms-transform', 'perspective(250px) rotateX(25deg)');

  • The screen on my MacBook has been flickering and shaking up and down. It starts flickering, shaking, gets 'pixelated,' then eventually begins to fade to white and freezes. Restarting sometimes helps, but only temporarily. Why is this? How can I fix it?

    The screen on my MacBook has just started flickering and shaking up and down while I am using it. The screen starts flickering, shaking, gets pixelated, begins to freeze, and eventually fades to white. Why is it doing this? How can I fix it?
    It is a newer MacBook, just over 1 year. It is well cared for, hasn't been dropped, etc. I don't want to pay for expensive repairs for such a new computer, and I certainly can't afford a new one!
    I've tried updating my system like the Support page suggested, but no improvement. The problem started just the other day, and is progressively getting worse.
    .... as I typed this, it did it again. Only, this time it did not flicker and shake, but got 'pixelated' (pixels came up checkered-like darkened and lightened). It did this for about 2 minutes and then stopped after I did not touch the computer.... Now it is flickering... HELP!

    it means that it is not a hardware issue.  Other then that, Im not too sure.  Sorry I can't help you any further, but Im sure others members of this forum will read your question and be able to help you.  Good luck

  • When i tried updating my iphone 4 to the latest IOS version 7.1.1 and at the end of the update it has the icon connect to itunes. When i try connecting to itunes it still doesnt program. Why is this? How can i fix it?

    When i tried updating my iphone 4 to the latest IOS version 7.1.1 it was updating until the end of the update where it had an icon which said connect to itunes. When i try connecting to itunes on my laptop it still doesnt program, by the way my itunes has the latest updae. Why is this? How can i fix it?

    Hey there Raymondd2014,
    It sounds like you had been updating the phone and now it is in recovery mode. Take a look at this info first:
    If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
    If you are unable to get out of Recovery Mode, use the following article to restore your device with iTunes:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    If you don't see your device in iTunes follow these steps for Windows.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Following the iOS 4.3.5 update, my phone can no longer be charged or connected to my PC.  What is causing this and how do I fix it?

    I get the message "Charging is not supported with this accessory" or just no connection at all.

    I downgraded flash to 10.3 and it fixed the problem. Everything works fine now. I suggest everyone do this until Adobe releases a fix for 11.7.

  • I have Firefox 3.6.13 and this message just popped up tonight

    I have Firefox 3.6.13 and this message just popped up tonight while trying to download and listen to the Audio or the Video download. This website has both an audio and video version of the program. I was able to fix the audio by removing Firefox and reinstalling it. The second message (below) keeps popping up when I try to download and view the video version of the same program. The site has both Audio and video and I can listen to the audio using Real Player but I still can’t watch the Video period. I get the Video message below? I do not have this problem using Opera 11.01
    Audio: Ok now, fixed by reloading Firefox
    C:\Users\Gary\AppData\Local\Temp\300-024-16.mp3 could not be opened, because the associated helper application does not exist. Change the association in your preferences.
    Video:
    C:\Users\Gary\AppData\Local\Temp\WorkingInvestor20110202.wmv-3.wvx could not be opened, because the associated helper application does not exist. Change the association in your preferences.
    How do I fix this, again the Audio using Real player is OK but not the video?

    Caused by the Ask Toolbar extension in Firefox 3.6.13, disable that extension or un-install it.

  • I have a problem with xajax javascript in Mozilla just how to fix it

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/835757]</blockquote>
    I have a problem with xajax javascript in Mozilla just how to fix it

    No. The broken glass technically voids the AppleCare Coverage. The Apple Genius will listen to your story and evaluate the problems with your iPhone. The Genius can decide how to handle this in many ways, including accepting this with AppleCare, but I doubt it. Again the broken glass voids the Coverage. If the Genius decides that the AppleCare is now Void, out of Warranty replacement is $149.

  • My computer is telling me i do not have permission to access the requested resource to update my iphone 5 to the new ios 7. why is it telling me this and how can i fix it, I have updated itunes and everything

    my computer is telling me i do not have permission to access the requested resource to update my iphone 5 to the new ios 7. why is it telling me this and how can i fix it, I have updated itunes and everything

    I saw this post at about 2:05 becasue I had the same problem. I just tried it again and now the update is downloading! just wait it out. I had to wait about 3.5 hours.

  • HT2476 I have just downloaded Mountain Lion for my MacBook Pro and now when my applications open they close and the error "This has just quit unexpectedly" message pops up. Does anybody know what is happening?

    I have just downloaded Mountain Lion for my MacBook Pro and now when my applications open they close and the error "This has just quit unexpectedly" message pops up. Does anybody know what is happening/how to fix it?

    Welcome to Apple Communities
    Press Command and R keys in boot and reinstall

  • When I burn a disc from a playlist in iTunes, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    When I burn a disc from a playlist in iTunes on my MacBook, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    No, this standard has been implemented for several decades.
    How iTunes remembers audio CDs - http://support.apple.com/kb/TA27785
    It is just conceivable you burned a CD that exactly matched one already in the Gracenote database.  Gracenote uses track count and duration to decide what CD it is you have in a computer.  If you have one that matches that it will label it.  You could conceivably even have one that matches it that is not the correct one.
    This script will only work on Macs:
    http://dougscripts.com/itunes/scripts/ss.php?sp=cdtexttocdinfo - script to use CD-text file on CD to label CD in iTunes

Maybe you are looking for

  • 8.1.7. on Red Hat 7.0

    I tried to install Oracle 8.1.7 standard edition on Red Hat Linux 8.1.7. After installing all the selected products the network configuration assistant started and never returned. When I try to use any of the assistants (netasst, dbassist, ...) they

  • Is it possible to Embed an MP4 video into a FlashCC file?

    We're looking at hopefully getting some videos into our final swf by embedding it.  We know we can use FLV's etc, but we would like to use the original MP4's without the loss of quality. Is it possible to Embed mp4's using code or something and addin

  • TEMP Tablespace too small

    Hi all, We have an Oracle 10.2.0.4 Reporting database, of which every night al lot of data is refreshed from production databases. For this refresh this database uses complex Materialized View definitions. We recently keep running out of TEMP tablesp

  • Viewer Builder won't let me edit

    I'm in development and have my first iteration of the app; now I need to edit it. I've created an updated .zip file but when I go into Viewer Builder, the edit button doesn't work. when I try to create a new app, it won't let me. I need to release to

  • BlackBerry closing down in the UK

    I've been shopping around in London to see the new BlackBerry Passport. They are *extremely difficult* to find as only a handful of stores will stock them. My carrier is o2. But as I've trekked all over the place to find a Passport (I don't want to b