Suggestion php dom parser or jquery for metabox value -
i have page has covered background image. in wordpress backend have 2 fields page:
- one high resolution image – and –
- the other low resolution.
so far can give style inline in div
php. in jquery changes class high resolution when reaches screen width.
so in php have see if div
has class determine resolution image use. found php simple dom parser might able or jquery through ajax.
what suggested way? if in jquery, how able data?
Comments
Post a Comment