AndyGB4
Posts: 122
|
| Posted: 08/01/2011, 8:34 AM |
|
Hi guys,
So here's my problem:
When I add Tabs to my website, they end up behaving on the website as normal panels, and align themselves one under the other. I don't understand why this is happening since i didnt modify anything in the generated code.
Also, I've used Tabbed Views tons of times on other websites I've made, and it has always worked fine. So I don't understand why it doesn't want to work now.
Does anyone have any idea why?
Or what I can try to fix it?
Thanks,
- Andrew
|
 |
 |
andrewi
Posts: 162
|
| Posted: 08/02/2011, 2:30 PM |
|
Have you added many other CCS Features to the page? Sometime they conflict: I found that one of the autocomplete features stopped the update panel from working.
There are a number of javascript library files required. The links to these are all inserted automatically, but sometimes site settings can cause these links to be badly formed.
Try diagnosing the current page (press F12 in IE8 or use firebug addin for Firefox) - check for any javascript errors or for any linked files that aren't loading.
Then go back to basics: create a blank new page, add a tabbed view and a couple of tabbed tabs with just text in them (just takes a couple of clicks) Publish it, and it should work straight away. If it doesn't, check the project settings and compare with the other sites where it does work.
If it does work, try adding the other components of your original page (hopefully not too complex) one by one, checking at each stage. You'll either get everything back on the page and it works (CCS programming is like this sometimes), or you'll find the item that breaks tht tabs.
Andrew
|
 |
 |
AndyGB4
Posts: 122
|
| Posted: 08/03/2011, 8:10 AM |
|
Hi Andrew, thanks for the reply.
Ok so I used your advice and realized that the CCS Feature that was interfering with the Tabs is the 'Directory Builder' that I used to create a menu (which is in an include page). When i remove the include page the Tabs work fine.
Im going to check now for any javascript errors or missing files that might be causing this.
|
 |
 |
AndyGB4
Posts: 122
|
| Posted: 08/03/2011, 11:49 AM |
|
Ok so i fixed the problem.
Basically my menu and the Tabbed View & Tabs were both using a different function called "function()". Obviously a big problem, so I renamed the menu's function, made a few tiny changes to the menu's code and everything works well now.
Thanks for your help!
|
 |
 |
datadoit
|
| Posted: 08/03/2011, 3:01 PM |
|
Good job Andy. Send that off to support so that it can be addressed in
a future release.
|
|
|
 |
mamboBROWN
Posts: 1713
|
| Posted: 08/11/2011, 8:39 PM |
|
AndyGB4,
Could you please add RESOLVED to thread title. Thanks.
|
 |
 |
|