V4 beta Aug-28-2018 available now
 1-17  18-37  38-57  58-65

Previous
Next
 From:  Michael Gibson
9044.58 In reply to 9044.57 
Hi albehany what error do you get?

Try removing the 2nd line of the script that looks at innerHTML.length, you can either delete it or put a // in front of it to comment it out.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  albehany
9044.59 In reply to 9044.58 
Hi, sorry for bothering but I can't find the innerHTML.length
this is my html file can you please see what is the problem. thank you and sorry


  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9044.60 In reply to 9044.59 
Hi albehany, sorry I thought you were trying to use the script to do it which is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8064.8

With that way you leave the default SidePane.htm in place and put that script in MoI's appdata\startup folder so it runs on program startup.

For your editing the SidePane.htm one problem is that you've got duplicate ids here (on the lines marked with >>>>)

code:
>>>>       <moi:PaletteHeader id="TransformTabContent">
                    <moi:TabContainer>
                        <moi:TabButton id="TransformTab" class="RightTabButton"><moi:Text textid="Transform tab"/></moi:TabButton>
                    </moi:TabContainer>
                </moi:PaletteHeader>
                <moi:PaletteBody>
>>>>             	<div id="TransformTabContent">



Both of those having the same id value will cause problems. Modify the top one to id="TransformHeader" instead.

The second problem is that the close tag for the construct <moi:PaletteBody> is missing, which makes the transform tab to be a child of construct.

So immediately above the transform tab add </moi:PaletteBody> so the construct one is closed.

That should get it working after those 2 fixes I think.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  albehany
9044.61 In reply to 9044.60 
The script just work fine. thank you so much and thank Max Smirnov (SMIRNOV) for this cool script
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 9044.62 deleted 10 Oct 2018 by MICHAEL GIBSON

Message 9044.63 deleted 13 Oct 2018 by MICHAEL GIBSON

Previous
Next
 From:  Mr. Yuri (MR_JURAJ)
9044.64 In reply to 9044.61 
Hi albehany,
can you please post corrected script? :)

Thanks
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
9044.65 In reply to 9044.64 
Hi Mr. Yuri, if that MiniSidepane.js script is not working for you try editing the file in a text editor and delete the 2nd line that has the if statement in it.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-17  18-37  38-57  58-65