تغغیرات در کد ها هست شاید به زودی این مورد رو منتشر کردیم در سایت
ممنون از زحماتتون.
یک جای دیگه از http://webfx.eae.net/dhtml/tabpane/tabpane.html صحبت شده بود.
من در این مورد چیزهایی خوندم. کنار هم می ذارم می فهمم چی می گه ولی نمی تونم باهاش کار کنم:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
the Tab Pane is handled by the mosTabs class you can find the class in /includes/mamboHTML.php, the task of change of tag is a JavaScript task you should call the setSelectedIndex method of the Tab object see more doc about the Tab Pane Javascript library in
http://webfx.eae.net/dhtml/tabpane/tabpane.html-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Just to clarify things, in versions prior to 4.6.x, the mosTabs class is in includes/mambo.php. In version 4.6.x forward, it is in mamboHTML.php.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
It *should* be possible to programatically select a tab. However, you need to be able to reference the tab object by name. Unfortunately, the startTab() function in class mosTabs does not return the tab page object. The following is for demonstration purposes only. We don't recommend changing core files since those changes can be lost during upgrades or reinstalls.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
In class mosTabs, function startTab():
Replaceecho " tabPane1.addTabPage( document.getElementById( \"".$paneid."\" ) );";
Withecho " ".str_replace('-', '_', $paneid)." = tabPane1.addTabPage( document.getElementById( \"".$paneid."\" ) );";
Now, using the content edit page as an example, I can make the images tab page show by adding the following at the end of the editContent() function in admin.content.html.php:images_page.select();
Notice the str_replace() function used in the replacement code. Javascript doesn't like the dash. So we replace it with underscores. We probably need to address the use of dashes in future versions. I also think we should consider making the tab page object available in future versions. This would give use programatic control over our tabs.
As an alternative, you could extend the mosTabs class and modify startTab() there instead of changing the core code.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
از اینجا می شه دانلود کرد:
http://webfx.eae.net/download/tabpane102.zip-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
در فولدری به نام لوکال یه توضیح کوچولو داده:
Creata a sub folder in the zip directory and copy all these files to that dir.
Replace the include statements of webfxlayout.js and webfxapi.js to point at local/webfxlayout.js and
local/webfxapi.js
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
نمی تونم اینها رو بذارم کنار هم و راش بندازم!
دموهاش و .. خیلی خوب کار می کنه....