Image-Link -> align=right?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Image-Link -> align=right?

Post by fcefan »

Hi. How can i change that ONLY the image-link is at align=right? It dosn´t work with imagealign=right.

Please help me. Thanks

Image

And the second question:
The menu is overlapping. Where can i change it?

Image
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Image-Link -> align=right?

Post by Ruth »

Hi,

You can try imagepostion=right in the item. However, in order to be sure what's happening I really need the page with the menu on it so I can see and test things.

Ruth
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

Hi ruth! No problem. Here ist the link to my site

It dosn´t work with imagepostion=right
Hope you can help me. Also with overlap with iframe.

Thanks
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Image-Link -> align=right?

Post by John »

Please first update your menu code to the current version (a requirement for support here on the forum). While you are only 3 levels down, a lot can be fixed in just 1 level.

Also, you are not coded properly for a menu placed in a table cell. See http://milonic.com/tablemenu.php for instructions.

Let us know how this turns out. If necessary we'll continue from there.
John
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

John wrote:Please first update your menu code to the current version (a requirement for support here on the forum). While you are only 3 levels down, a lot can be fixed in just 1 level.
Which files in need to update? I don´t want to make all renew...
John wrote:Also, you are not coded properly for a menu placed in a table cell. See http://milonic.com/tablemenu.php for instructions.
Let us know how this turns out. If necessary we'll continue from there.
I have update the code. Thanks
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Image-Link -> align=right?

Post by John »

Go to http://milonic.com/menuvinfo.php, login, and download the current code files (v5.796). Since you are not supporting NS4, you only need to update milonic_src.js and mmenudom.js. Do NOT update your menu_data.js file with the one in the download or you will lose your menu!

Future updates would be the same 2 files. Note that v5.797 will be out in just a few days (at most).
John
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

Ok thanks for the instruction. Now i have updated.

So, the problem stays.

I can only change the position from the picture if i try itemwidth=; and imagepostion=right.
But this is not the best. I would like that the complete item is at right without dependent on definition at the picture. So i must change everytime "Itemwith=;" if i would like a new link. Is it the one and only chance?

And the overlap exists also.

Hope you now what i mean.
Sorry, my english is not the best. :?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Image-Link -> align=right?

Post by Ruth »

Hi,

I am working on it to give you some options. However, as for the overlap, I cannot find a single page which shows what you have in the image. I clicked every link in that menu and no page has that area with the emailadre in the form blank area. You'll have to send me to the page with that on it for me to test that.

Ruth
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

Ok, than i waiting for your options.

And that you see the overlap you must click the button "Energie-Klatsch öffnen" at the right corner. Then open the window over the menu.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Image-Link -> align=right?

Post by Ruth »

Hi,

OK. Here is your setup with the menu as you want it and with the problem of the image showing over the iframe corrected. This is a z-index problem.

1. In your format.css file, in the #editor, add z-index:10000;

2. Create this file and save it as table_main_left.js

Code: Select all

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position='relative';
aI("text=Home;url=/;itemwidth=40px;");
//aI("showmenu=mittendrin;text=Mittendrin;");
aI("showmenu=partners;text=Bundesliga;itemwidth=90px;");
aI("showmenu=zweite;text=2. Liga;itemwidth=70px;");
aI("text=Tippspiel;url=/lmo4/lmonew.php?action=tipp;itemwidth=70px;");
//aI("showmenu=community;text=Community;");
}
drawMenus();
3. Create this file and save it as table_main_right.js

Code: Select all

with(milonic=new menuname("Main MenuRight")){
alwaysvisible=1;
orientation="vertical";
style=menuStyle;
position='relative';
aI("image=all-inkl_logo_small_115x23.gif;url=http://www.all-inkl.com/index.php?partner=135950;target='blank';onbgcolor=#aa0000;");
}
drawMenus();
4. Remove the Main Menu from the menu_data.js file and save the file without it.

5. The following is your new table for the menu, note that I added a column for the right side item. You now have 3 'data' files. The menu data with the styles and the submenus, a left side main menu data file, and a right side main menu data file. The left and right side main menu data files are called in their respective table cells and positioned relatively.

Code: Select all

<TABLE cellSpacing=0 cellPadding=0 width="100%" id=milmenu>
              <TBODY>
              <TR height=35>
                <TD style="BACKGROUND-COLOR: #aa0000! important;" vAlign=top align=left>
				<!-- The next file contains your main menu left side data, links -->
                  <script type="text/javascript" src="table_main_left.js"></script>
</TD>
<TD style="BACKGROUND-COLOR: #aa0000! important" vAlign=top align=right>
<!-- The next file contains your main menu right side data, links -->
<script type="text/javascript" src="table_main_right.js"></script>
</TD></TR></TBODY></TABLE><!-- **** JavaScript Menu HTML Code -->
Take a look at this link to see how to do the table/div relatively positioned menus when you need something like you have with a 'split' menus, i.e. one main menu in one place and another in a different place. You need to take a look at Method Two for directions to do this kind of relative positioning.

http://support.milonic.com/beginners/ta ... /index.htm

Hope this helps. Also, version 5.797 is now in release so you need to download your own version of the release instead of using the pre-release

Ruth
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

Hey thats is it. It works fine. Thanks!

But only one problem. The menu dosn´t open in IE! I have already updated to Version 5.798.

What is the problem?
:| :|

PS: Can i be notified if a new version is available?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Image-Link -> align=right?

Post by John »

fcefan wrote:PS: Can i be notified if a new version is available?
Same as subscribing to any other topic. In this case, go to http://milonic.com/forum/viewforum.php?f=18 and click the 'Subscribe forum' link on the left side just above the first message listing.

Note that, in some cases, the board wants you to log in again when going to that page via this link. Not sure why. You could also just go back to the 'Board index' and select the 'Product Updates' topic, then subscribe as above.
John
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

Mhhh...
I can not find this link. Take a look at the picture.

Image

Can you also help me why the menu dosn´t open in IE?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Image-Link -> align=right?

Post by John »

Hard to see, but it looks like you didn't log in to the forum again as mentioned above - or, follow the second suggestion I offered.
John
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

John wrote:You could also just go back to the 'Board index' and select the 'Product Updates' topic, then subscribe as above.
No i am logged in! There is no link like "Subscribe forum". Do you use ff? then you can zoom the picture. It´s the full capture of the site.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Image-Link -> align=right?

Post by Ruth »

Hi,

You have moved the menu data file into the table from its position up with the milonic_src.js and mmenudom.js. It doesn't go in the table, only the 'main' menus go into the table as I posted above. The menu_data.js without the main menu in it goes up at the top just like previously.

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Image-Link -> align=right?

Post by Ruth »

The only image I get is the thumbnail, there seems to be no full sized anywhere that I can find. When I try to use the url for the 'regular' image it redirects to a page with the banana logo. When I download the image I only get the thumb, of course.
I have IE6 set so that I can switch from the thumb to the 'real' size but it doesn't give me that option with this image
fcefan
Advanced
Advanced
Posts: 20
Joined: Thu Mar 15, 2007 11:31 am

Re: Image-Link -> align=right?

Post by fcefan »

Ruth wrote:Hi,

You have moved the menu data file into the table from its position up with the milonic_src.js and mmenudom.js. It doesn't go in the table, only the 'main' menus go into the table as I posted above. The menu_data.js without the main menu in it goes up at the top just like previously.

Ruth
I didn´t know that i must change the position of the menu_data.js. Now it works fine. Thanks a lot for help! :P

Ruth wrote:The only image I get is the thumbnail, there seems to be no full sized anywhere that I can find. When I try to use the url for the 'regular' image it redirects to a page with the banana logo. When I download the image I only get the thumb, of course.
I have IE6 set so that I can switch from the thumb to the 'real' size but it doesn't give me that option with this image
Here This is the direct link to the image http://img3.imagebanana.com/img/al2407/where.jpg
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Image-Link -> align=right?

Post by John »

fcefan wrote:
John wrote:You could also just go back to the 'Board index' and select the 'Product Updates' topic, then subscribe as above.
No i am logged in! There is no link like "Subscribe forum". Do you use ff? then you can zoom the picture. It´s the full capture of the site.
You can't zoom in enough to see that shot clearly, but, as mentioned, it still appears, as mentioned, you did not log back into the forum (it doesn't matter if you were logged in before you clicked the link). Obviously a bug in the forum code.

Regardless, did you try the second option I offered?
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Image-Link -> align=right?

Post by Ruth »

Hi,

That is the url that redirects to the img/logo.png page. However, it looks as if you are using prosilver as your board preference. In that theme the subscribe/unsubscribe is way down at the bottom, almost the last thing on the page. It's below Who is Online, forum permissions where it tells you what you can do, then below that you'll see a light blue colored area across the page and at the left side of it is 'Board Index' and then 'Subscribe Forum'. Also, again, as John noted, if you use the link you need to 're-login'. It opens in a new window and seems to open as not logged in.

Ruth
Post Reply