Posts filed under ‘Gooffiliate Gold – affiliate members’

Expression web .net menu controls

I have had issues with the menu control rendering the sub/fly out menus in certain browsers when the control was created with expression web 2. It has come to light, that, expression web version 2 and v4 give different codes for the menu controls. Subtle but different.

Below is the code generated by expression web.

image

Further the code below comes from expression web version 4.

image

From what i can see based on the following menu set up.

Drag menu onto aspx page. EWv2 names the control “Menu” whereas EW4 names it “Menu1” However – This could simply be a sequential thing, and not an issue

Also notice that v2 offers

“<asp:Menu runat="server" id="Menu1">”

Whilst v4 gives…

“<asp:Menu id="Menu1" runat="server">”

As you can see a reversed string.

The only other discernable difference is the capitalisation of the actual menu items, V2 being lowercase and V4 capitalised.

So i made these changes to a menu i have that i know renders incorrectly, uploaded to the server and no difference at all.

So where to look next?

I noticed as i flick about between the 2 versions and various screens that in fact there is a major difference between the 2 versions.

Version 2 rendered the control in split view

image

Version 4 or the same control split view

image

As you can see version 4 includes some styles! They are .net system styles and you can’t do a whole lot with them really but interestingly, flicking around i notice a Z Index setting on one of these styles BINGO!

Unfortunately i can’t get a screen shot of the style but it is enough to know that V2 menu controls can be used with a simple class style.

Create a class style in expression web something like

.menuforward {
    z-index: 1;
    background-color: #E9E9E9;
    border-right-style: solid;
    border-width: 3px;
    border-color: #CCCCCC;
    padding-bottom: 8px;
    padding-right: 5px;

NOTE* The Z Index

Then simply apply this class style to the menu control dynamic menu style in the tag properties Styles.

image

So what on the face of it seemed a bit of a nightmare, does actually have quite a simple solution.

 

Have Fun

Advertisements

September 19, 2011 at 10:47 am

Railway Modellers Guide – The comprehensive directory for modellers

About to roll out of the station is the latest powered by gooffiliate.com web site. Nothing more than a simple directory type web site which acts as a base for future development.

In this case the owner wanted some time to become familiar with the workings of the web, and to be able to add some unique content, prior to publishing.

The modelling world is not overly affiliate friendly. No merchant i can find has really puts the effort into what i can only imagine would be a very lucrative market.

However the client has access to a merchant feed that is not publically available and an agreement from the merchant to use it, so together we are working on a data feed that hopefully will add the final income stream, however the feed has yet to be built, and will need to be built into a payment provider, but once done it can be quickly incorporated into the site making a truly bespoke affiliate web site.

A typical Article Page

image

Directory Pages

image

Article Previews

image

A clean simple fresh looking web site, that will evolve over the next few weeks/months

http://www.expression-web-designer-help.com/

want to get into affiliate marketing?

Find us in the forum – JIM

September 16, 2011 at 5:53 pm

New web site release

I have just put the finishing touches to our latest build, adding to the growing list of powered by gooffiliate web sites.

Credit to the clients who chose the template and merchant very wisely.

This is probably one of the best feeds i have worked with for a long time. Plenty of products and good descriptions.

The web site is chock full of useful articles and information, the image below shows a typical article page.

Powered by gooffiliate.com - The travelling Trekker - Article Page

Below is a shopping page and the excellent template choice really stands out here giving the whole site a real edge.

Powered by gooffiliate.com - The travelling Trekker - Shopping Page

Every product in a shopping page has a more info link, when clicked the use will see more details on the product. Links direct to the merchant and one click to return to the previous page

Powered by gooffiliate.com - The travelling Trekker - Product Display Page

A typical directory page is shown below, containing information on related web sites.

Powered by gooffiliate.com - The travelling Trekker - Directory Page

The site makes extensive use of xml and a bit of Db work thrown in as well. The shopping department is huge so the dot net menu control has been used to condense the menus, again offering a very modern feel to the whole site.

If you own expression web and want a site like this why not join our forum and make yourself known?

http://www.expression-web-designer-help.com/forum/

September 15, 2011 at 5:36 pm

Expression web menus using the asp.net menu control–gooffiliate gold tutorial

I have published a tutorial explaining how to use the menu control in expression web. A very useful control for those that have lots of pages and want a coherent way to navigate around the web site.

The control is easy to use – and i will look at some way of automating an xml file to utilise with the control, making it much easier to implement.

The tutorial uses an ascx file extension which is called a user control. Once created the user control can be dragged onto any page in your site.

Then when you add new pages, you can just update the single control and all pages holding that control will be updated.

Especially useful with master pages and big web sites.

September 15, 2011 at 11:53 am 1 comment


Calendar

September 2017
M T W T F S S
« Oct    
 123
45678910
11121314151617
18192021222324
252627282930  

Posts by Month

Posts by Category