I remember a while back about a javascript file that would export only the html div and relevant css styles to html and css files (not images or pdf). I would like that, or a way to include div nav
in another document on a different subdomain: div nav
on www.example.com onto subdomain.example.com. Any ideas?
Asked
Active
Viewed 192 times
0

user2922065
- 1
- 1
-
Export what to where? Can you clarify what you are trying to do here? – Pekka Oct 26 '13 at 03:44
-
Well i want styles.css with all the styles that are relevant, and nav.html with the div and relevant variables (css, javascript etc.). – user2922065 Oct 26 '13 at 03:56
-
But want them where? In what context? – Pekka Oct 26 '13 at 03:58
-
my site http://www.autisticaussies.com has a navbar. I want to put that navbar onto the subdomain bans and stats. – user2922065 Oct 26 '13 at 04:00
-
give an example of page A, and exactly what parts of it you want to move to page B, and clarify if the page B is already loaded, what it contains, or your creating it at the same time, there are millions of possibilities right now, be more specific – ajax333221 Oct 26 '13 at 04:01
-
I want to put the div "nav"on www.autisticaussies.com onto the top of bans.autisticaussies.com and stats.autisticaussies.com – user2922065 Oct 26 '13 at 04:03
-
to what I understand you don't want to copy-paste the nav, as updating it would mean you need to update all instances in all pages, so you want a .js file to be executed that creates your nav `div`? then in any page where the .js is loaded the nav will be created? if this is the case please tell me – ajax333221 Oct 26 '13 at 04:06
-
i will give u a picture of what i want – user2922065 Oct 26 '13 at 04:07
-
[link]www.mccarthyp64.com/screenie.png[/link] except bans is active and without the forum stuff (I can do that) – user2922065 Oct 26 '13 at 04:57