3 | Posts |
Hey guys,
I have some difficulties managing the cms. I am using 2.3.3...
- Could you tell me how to manage the new sections by adding personal ID to the div (editable_area GPAREA filetype-text)?
- The website's content, I have designed, is smaller than the one of the demo version. Is there a way to make the cms open the edit content in the "dialog" window that the administration is using?
Thanks
483 | Posts |
16.6K | Downloads |
1 | Themes |
1 | Plugins |
3 | Posts |
483 | Posts |
16.6K | Downloads |
1 | Themes |
1 | Plugins |
Well, now i understand. If you're looking for javascript solution, you can try something like this:
<script type="text/javascript">
$(document).ready(function(){
var textsections=document.getElementsByClassName('filetype-text');
for (var i=0;i<textsections.length;i++)
textsections[i].setAttribute('id','TextSection'+i);
});
</script>
If somebody knows how to do this more compact in jQuery, i am also very interested.
Edit: thanks Josh.
2K | Posts |
295K | Downloads |
16 | Themes |
18 | Plugins |
3 | Posts |
483 | Posts |
16.6K | Downloads |
1 | Themes |
1 | Plugins |
Yes, it sets ascendingly the unique identifier for every element with that class 'filetype-text'.
(If you do use Firefox, you can check the result with HackTheWeb plugin very easily. Imho it's very useful.)
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More NewsFind out more about our Provider Spotlight
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using